mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-08-31 09:21:32 +00:00
multi-scope: update getaccount
This commit is contained in:
parent
d54e539700
commit
028f4a7c83
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@ func getAccount(icmd interface{}, w *wallet.Wallet) (interface{}, error) {
|
|||
return nil, &ErrAddressNotInWallet
|
||||
}
|
||||
|
||||
acctName, err := w.AccountName(waddrmgr.KeyScopeBIP0044, account)
|
||||
acctName, err := w.AccountName(account)
|
||||
if err != nil {
|
||||
return nil, &ErrAccountNameNotFound
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue