From 09ec547ed609777251c7dfeff30244f322da2179 Mon Sep 17 00:00:00 2001 From: Roy Lee Date: Mon, 22 Aug 2022 11:42:08 -0700 Subject: [PATCH] multi-account: update getaccount --- rpc/legacyrpc/methods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/legacyrpc/methods.go b/rpc/legacyrpc/methods.go index 494201f..fdad179 100644 --- a/rpc/legacyrpc/methods.go +++ b/rpc/legacyrpc/methods.go @@ -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 }