Fixup for rpc wallet unused variable

This commit is contained in:
Konstantin Akimov 2022-08-16 22:13:31 +07:00
parent 1787334e29
commit d8ad2dd701

View File

@ -1489,7 +1489,8 @@ UniValue importmulti(const JSONRPCRequest& mainRequest)
std::shared_ptr<CWallet> const wallet = GetWalletForJSONRPCRequest(mainRequest);
if (!wallet) return NullUniValue;
CWallet* const pwallet = wallet.get();
LegacyScriptPubKeyMan& spk_man = GetLegacyScriptPubKeyMan(*wallet);
GetLegacyScriptPubKeyMan(*wallet);
//Default options
bool fRescan = true;