diff options
| author | Patrick Strateman <[email protected]> | 2016-06-07 21:41:03 -0700 |
|---|---|---|
| committer | Patrick Strateman <[email protected]> | 2016-07-29 17:04:14 -0700 |
| commit | 867f842f1e5a385aeb2093f802d6f37a84d0fe5d (patch) | |
| tree | 11f1d708106754f15a7d6f5c03bb61df3c714b07 /src/wallet/rpcdump.cpp | |
| parent | Split CWallet::AddToWallet into AddToWallet and LoadToWallet. (diff) | |
| download | discoin-867f842f1e5a385aeb2093f802d6f37a84d0fe5d.tar.xz discoin-867f842f1e5a385aeb2093f802d6f37a84d0fe5d.zip | |
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 9d403a453..fe8b53ceb 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; } |