diff options
author | Patrick Strateman <patrick.strateman@gmail.com> | 2016-06-07 21:41:03 -0700 |
---|---|---|
committer | Patrick Strateman <patrick.strateman@gmail.com> | 2016-07-29 17:04:14 -0700 |
commit | 867f842f1e5a385aeb2093f802d6f37a84d0fe5d (patch) | |
tree | 11f1d708106754f15a7d6f5c03bb61df3c714b07 /src/wallet/rpcdump.cpp | |
parent | 00f09c920c2e8906d2260251be6d1d2fa1bbb29d (diff) |
Remove CWalletDB* parameter from CWallet::AddToWallet
Diffstat (limited to 'src/wallet/rpcdump.cpp')
-rw-r--r-- | src/wallet/rpcdump.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 9d403a4538..fe8b53ceb0 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -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; } |