mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 07:35:07 +02:00
Merge pull request #7408 from carlaKC/bugfix-updatenodeanncli
bugfix/trivial: fix update node announcement feature bit add /remove
This commit is contained in:
@@ -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),
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user