multi: make tlv onion compulsory

This commit is contained in:
Keagan McClelland committed 2024-01-11 09:43:31 -08:00
1 parent 9afe1b72dc
commit 239103c2b3
9 files changed
+29 -26

No files matched your search

+7 -5
View File
@@ -181,11 +181,13 @@ func (c *integratedRoutingContext) testPayment(maxParts uint32,
FeeLimit: lnwire.MaxMilliSatoshi,
Target: c.target.pubkey,
PaymentAddr: &paymentAddr,
DestFeatures: lnwire.NewFeatureVector(baseFeatureBits, nil),
Amount: c.amt,
CltvLimit: math.MaxUint32,
MaxParts: maxParts,
RouteHints: c.routeHints,
DestFeatures: lnwire.NewFeatureVector(
baseFeatureBits, lnwire.Features,
),
Amount: c.amt,
CltvLimit: math.MaxUint32,
MaxParts: maxParts,
RouteHints: c.routeHints,
}
var paymentHash [32]byte