multi: make tlv onion compulsory
This commit is contained in:
1 parent
9afe1b72dc
commit
239103c2b3
9 files changed
+29
-26
No files matched your search
@@ -24,7 +24,7 @@ var (
|
||||
emptyFeatures = lnwire.NewFeatureVector(nil, lnwire.Features)
|
||||
ampFeatures = lnwire.NewFeatureVector(
|
||||
lnwire.NewRawFeatureVector(
|
||||
lnwire.TLVOnionPayloadOptional,
|
||||
lnwire.TLVOnionPayloadRequired,
|
||||
lnwire.PaymentAddrOptional,
|
||||
lnwire.AMPRequired,
|
||||
),
|
||||
@@ -3158,7 +3158,7 @@ func TestAddInvoiceInvalidFeatureDeps(t *testing.T) {
|
||||
|
||||
invoice.Terms.Features = lnwire.NewFeatureVector(
|
||||
lnwire.NewRawFeatureVector(
|
||||
lnwire.TLVOnionPayloadOptional,
|
||||
lnwire.TLVOnionPayloadRequired,
|
||||
lnwire.MPPOptional,
|
||||
),
|
||||
lnwire.Features,
|
||||
|
||||
Reference in new issue
Block a user