aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-09-20 16:18:24 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2016-09-20 16:18:24 +0200
commitc6f5ca822f1308983431bf1b3c91f8aaccff51a0 (patch)
tree26fc83b38744f1bfed621e0350be0162c05ec6ac
parent4335d5a41bc244cc69f6ba76cfbc8d56cb06e108 (diff)
downloadbitcoin-c6f5ca822f1308983431bf1b3c91f8aaccff51a0.tar.xz
[Wallet] remove "unused" ThreadFlushWalletDB from removeprunedfunds
-rw-r--r--src/wallet/rpcdump.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp
index 42ebdb9b9b..e80fa7dff8 100644
--- a/src/wallet/rpcdump.cpp
+++ b/src/wallet/rpcdump.cpp
@@ -344,8 +344,6 @@ UniValue removeprunedfunds(const UniValue& params, bool fHelp)
throw JSONRPCError(RPC_INTERNAL_ERROR, "Transaction does not exist in wallet.");
}
- ThreadFlushWalletDB(pwalletMain->strWalletFile);
-
return NullUniValue;
}