mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-09-03 02:35:16 +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
|
return nil, &ErrAddressNotInWallet
|
||||||
}
|
}
|
||||||
|
|
||||||
acctName, err := w.AccountName(waddrmgr.KeyScopeBIP0044, account)
|
acctName, err := w.AccountName(account)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, &ErrAccountNameNotFound
|
return nil, &ErrAccountNameNotFound
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue