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:
Joost Jager 2019-12-11 10:54:11 +01:00
parent c37289cd94
commit 75aa4e7061
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -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