Merge #8765: [Wallet] remove "unused" ThreadFlushWalletDB from removeprunedfunds

c6f5ca8 [Wallet] remove "unused" ThreadFlushWalletDB from removeprunedfunds (Jonas Schnelli)
This commit is contained in:
Wladimir J. van der Laan 2016-09-21 08:15:24 +02:00 committed by Alexander Block
parent 36fcd5c414
commit e02b48cad0

View File

@ -345,8 +345,6 @@ UniValue removeprunedfunds(const UniValue& params, bool fHelp)
throw JSONRPCError(RPC_INTERNAL_ERROR, "Transaction does not exist in wallet.");
}
ThreadFlushWalletDB(pwalletMain->strWalletFile);
return NullUniValue;
}