lnwire+feature: define AnchorsZeroFeeHtlcTx feature
This commit is contained in:
3 files changed
+15
-3
No files matched your search
@@ -43,7 +43,7 @@ var defaultSetDesc = setDesc{
|
||||
SetNodeAnn: {}, // N
|
||||
SetInvoice: {}, // 9
|
||||
},
|
||||
lnwire.AnchorsOptional: {
|
||||
lnwire.AnchorsZeroFeeHtlcTxOptional: {
|
||||
SetInit: {}, // I
|
||||
SetNodeAnn: {}, // N
|
||||
},
|
||||
|
||||
+2
-2
@@ -83,8 +83,8 @@ func newManager(cfg Config, desc setDesc) (*Manager, error) {
|
||||
raw.Unset(lnwire.StaticRemoteKeyRequired)
|
||||
}
|
||||
if cfg.NoAnchors {
|
||||
raw.Unset(lnwire.AnchorsOptional)
|
||||
raw.Unset(lnwire.AnchorsRequired)
|
||||
raw.Unset(lnwire.AnchorsZeroFeeHtlcTxOptional)
|
||||
raw.Unset(lnwire.AnchorsZeroFeeHtlcTxRequired)
|
||||
}
|
||||
if cfg.NoWumbo {
|
||||
raw.Unset(lnwire.WumboChannelsOptional)
|
||||
|
||||
Reference in new issue
Block a user