multi-account: update validateaddress
This commit is contained in:
parent
03256c049b
commit
c42e8a0705
1 changed files with 1 additions and 3 deletions
|
@ -2021,9 +2021,7 @@ func validateAddress(icmd interface{}, w *wallet.Wallet) (interface{}, error) {
|
|||
// The address lookup was successful which means there is further
|
||||
// information about it available and it is "mine".
|
||||
result.IsMine = true
|
||||
acctName, err := w.AccountName(
|
||||
waddrmgr.KeyScopeBIP0044, ainfo.InternalAccount(),
|
||||
)
|
||||
acctName, err := w.AccountName(ainfo.InternalAccount())
|
||||
if err != nil {
|
||||
return nil, &ErrAccountNameNotFound
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue