multi-account: update getaccount
This commit is contained in:
parent
608e4dddb5
commit
09ec547ed6
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