diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 732fbfb962..d602acdb58 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -488,8 +488,7 @@ UniValue importwallet(const JSONRPCRequest& request) throw JSONRPCError(RPC_WALLET_ERROR, "Importing wallets is disabled when blocks are pruned"); } - // KNST -// WalletBatch batch(pwallet->GetDBHandle()); + WalletBatch batch(pwallet->GetDBHandle()); WalletRescanReserver reserver(pwallet); if (!reserver.reserve()) { throw JSONRPCError(RPC_WALLET_ERROR, "Wallet is currently rescanning. Abort existing rescan or wait.");