diff --git a/cmd/lncli/peersrpc_active.go b/cmd/lncli/peersrpc_active.go index 094dde1c3..1636bc99a 100644 --- a/cmd/lncli/peersrpc_active.go +++ b/cmd/lncli/peersrpc_active.go @@ -126,7 +126,7 @@ func updateNodeAnnouncement(ctx *cli.Context) error { if ctx.IsSet("feature_bit_add") { change = true - for _, feature := range ctx.IntSlice("feature_bit_add") { + for _, feature := range ctx.Int64Slice("feature_bit_add") { action := &peersrpc.UpdateFeatureAction{ Action: peersrpc.UpdateAction_ADD, FeatureBit: lnrpc.FeatureBit(feature), @@ -137,7 +137,7 @@ func updateNodeAnnouncement(ctx *cli.Context) error { if ctx.IsSet("feature_bit_remove") { change = true - for _, feature := range ctx.IntSlice("feature_bit_remove") { + for _, feature := range ctx.Int64Slice("feature_bit_remove") { action := &peersrpc.UpdateFeatureAction{ Action: peersrpc.UpdateAction_REMOVE, FeatureBit: lnrpc.FeatureBit(feature), diff --git a/docs/release-notes/release-notes-0.16.0.md b/docs/release-notes/release-notes-0.16.0.md index 0cac35fc5..80ad5fa71 100644 --- a/docs/release-notes/release-notes-0.16.0.md +++ b/docs/release-notes/release-notes-0.16.0.md @@ -130,6 +130,10 @@ current gossip sync query status. * [A bug has been fixed which could cause `lnd` to crash when parsing a malformed HTLC intercept message](https://github.com/lightningnetwork/lnd/pull/7392). +* [A bug](https://github.com/lightningnetwork/lnd/pull/7408) in the + `updatenodeannouncement` peers cli which did not allow setting/ + unsetting of feature bits also has been fixed. + ## Wallet * [Allows Taproot public keys and tap scripts to be imported as watch-only