routing: require tlv capability for custom record payments
Previously if a payment was sent with custom records attached, path finding wouldn't perform a check whether the final node was capable of receiving custom records in a tlv payload.
This commit is contained in:
1 file changed
+1
@@ -97,6 +97,7 @@ func (p *paymentSession) RequestRoute(payment *LightningPayment,
|
||||
OutgoingChannelID: payment.OutgoingChannelID,
|
||||
LastHop: payment.LastHop,
|
||||
CltvLimit: cltvLimit,
|
||||
DestCustomRecords: payment.DestCustomRecords,
|
||||
}
|
||||
|
||||
// We'll also obtain a set of bandwidthHints from the lower layer for
|
||||
|
||||
Reference in new issue
Block a user