multi: make tlv onion compulsory

This commit is contained in:
Keagan McClelland
2023-12-13 15:56:33 -08:00
parent 9afe1b72dc
commit 239103c2b3
9 changed files with 29 additions and 26 deletions

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