lnwire+feature: define AnchorsZeroFeeHtlcTx feature

This commit is contained in:
Johan T. Halseth committed 2020-12-15 10:13:04 +01:00
1 parent f8dda6f0ee
commit abefa93065
3 files changed
+15 -3

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ var defaultSetDesc = setDesc{
SetNodeAnn: {}, // N
SetInvoice: {}, // 9
},
lnwire.AnchorsOptional: {
lnwire.AnchorsZeroFeeHtlcTxOptional: {
SetInit: {}, // I
SetNodeAnn: {}, // N
},
+2 -2
View File
@@ -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)