Merge pull request #7408 from carlaKC/bugfix-updatenodeanncli

bugfix/trivial: fix update node announcement feature bit add /remove
This commit is contained in:
Oliver Gugger 2023-02-16 21:40:36 +01:00 committed by GitHub
commit 93b7821df3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -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),

View file

@ -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