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
@@ -19,7 +19,7 @@ var testSetDesc = setDesc{
|
||||
lnwire.DataLossProtectRequired: {
|
||||
SetNodeAnn: {}, // I
|
||||
},
|
||||
lnwire.TLVOnionPayloadOptional: {
|
||||
lnwire.TLVOnionPayloadRequired: {
|
||||
SetInit: {}, // I
|
||||
SetNodeAnn: {}, // N
|
||||
},
|
||||
@@ -104,6 +104,7 @@ func testManager(t *testing.T, test managerTest) {
|
||||
// Assert that the manager properly unset the configured feature
|
||||
// bits from all sets.
|
||||
if test.cfg.NoTLVOnion {
|
||||
assertUnset(lnwire.TLVOnionPayloadRequired)
|
||||
assertUnset(lnwire.TLVOnionPayloadOptional)
|
||||
}
|
||||
if test.cfg.NoStaticRemoteKey {
|
||||
|
||||
Reference in new issue
Block a user