From e00dabb79b1afdad3f1180342dbc65183625069d Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 18 Sep 2021 11:25:13 -0400 Subject: [PATCH] Fix bug in listaddresses RPC --- src/wallet/rpcwallet.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index c2a8484e0..76f160968 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -443,8 +443,6 @@ UniValue listaddresses(const UniValue& params, bool fHelp, const CPubKey& mypk) LOCK2(cs_main, pwalletMain->cs_wallet); - string strAccount = AccountFromValue(params[0]); - // Find all taddrs UniValue ret(UniValue::VARR); for (const std::pair& item : pwalletMain->mapAddressBook) {