mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-22 15:57:49 +02:00
multi: Fix final hop payload size for blinded rt.
The final hop size is calculated differently therefore we extract the logic in its own function and also account for the case where the final hop might be a blinded hop.
This commit is contained in:
@@ -390,6 +390,7 @@ func (r *RouterBackend) parseQueryRoutesRequest(in *lnrpc.QueryRoutesRequest) (
|
||||
DestCustomRecords: record.CustomSet(in.DestCustomRecords),
|
||||
CltvLimit: cltvLimit,
|
||||
DestFeatures: destinationFeatures,
|
||||
BlindedPayment: blindedPmt,
|
||||
}
|
||||
|
||||
// Pass along an outgoing channel restriction if specified.
|
||||
|
Reference in New Issue
Block a user