routing: pass custom records into pathfinding

This commit is contained in:
Joost Jager committed 2019-12-12 00:15:00 +01:00
1 parent d02de70d20
commit c37289cd94
2 files changed
+6 -7

No files matched your search

+2 -2
View File
@@ -224,8 +224,8 @@ func (r *RouterBackend) QueryRoutes(ctx context.Context,
fromNode, toNode, amt,
)
},
DestPayloadTLV: len(in.DestCustomRecords) != 0,
CltvLimit: cltvLimit,
DestCustomRecords: record.CustomSet(in.DestCustomRecords),
CltvLimit: cltvLimit,
}
// If we have any TLV records destined for the final hop, then we'll