mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-27 05:17:16 +02:00
routing: pass custom records into pathfinding
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user