You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the listaccounts command is using only the KeyScopeBIP0044 scope when returning a list of accounts and their balances. Given that there are multiple key scopes defined (i.e., KeyScopeBIP0049Plus, KeyScopeBIP0084),
I wonder if listaccounts command should check balances for all of these key types.
In the example below I have some balance on bech32 addresses and 0 in legacy.
I noticed that the listaccounts command is using only the KeyScopeBIP0044 scope when returning a list of accounts and their balances. Given that there are multiple key scopes defined (i.e., KeyScopeBIP0049Plus, KeyScopeBIP0084),
I wonder if listaccounts command should check balances for all of these key types.
In the example below I have some balance on bech32 addresses and 0 in legacy.
btcctl --wallet listaccounts
Calculated not correctly via
btcctl --wallet getbalance default
calculated correctly via
Question:
Is the current implementation as intended, or should the command be checking account balances across all key scopes?
If this is not intended behavior, I would be interested in contributing a pull request to address this.
The text was updated successfully, but these errors were encountered: