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:
3 files changed
+211
-22
No files matched your search
@@ -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