Skip to content

Commit

Permalink
multi-account: update getaccount
Browse files Browse the repository at this point in the history
  • Loading branch information
roylee17 committed Sep 28, 2022
1 parent 608e4dd commit 09ec547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/legacyrpc/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 09ec547

Please sign in to comment.