Remove CWalletDB* parameter from CWallet::AddToWallet

This commit is contained in:
Patrick Strateman
2016-06-07 21:41:03 -07:00
parent 00f09c920c
commit 867f842f1e
4 changed files with 14 additions and 16 deletions

View File

@@ -309,8 +309,7 @@ UniValue importprunedfunds(const UniValue& params, bool fHelp)
LOCK2(cs_main, pwalletMain->cs_wallet);
if (pwalletMain->IsMine(tx)) {
CWalletDB walletdb(pwalletMain->strWalletFile, "r+", false);
pwalletMain->AddToWallet(wtx, &walletdb);
pwalletMain->AddToWallet(wtx, false);
return NullUniValue;
}