diff options
| author | Patrick Strateman <[email protected]> | 2016-06-07 21:25:31 -0700 |
|---|---|---|
| committer | Patrick Strateman <[email protected]> | 2016-07-29 17:04:14 -0700 |
| commit | 00f09c920c2e8906d2260251be6d1d2fa1bbb29d (patch) | |
| tree | 878f8979628021569acfda540623db2a55d53b21 /src/wallet/walletdb.cpp | |
| parent | Merge #8417: [QA] Add walletdump RPC test (including HD- & encryption-tests) (diff) | |
| download | discoin-00f09c920c2e8906d2260251be6d1d2fa1bbb29d.tar.xz discoin-00f09c920c2e8906d2260251be6d1d2fa1bbb29d.zip | |
Split CWallet::AddToWallet into AddToWallet and LoadToWallet.
This removes the fFromLoadWallet flag in AddToWallet. These were already
effectively two methods.
Diffstat (limited to 'src/wallet/walletdb.cpp')
| -rw-r--r-- | src/wallet/walletdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index 72af8ab7b..543522ca6 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -400,7 +400,7 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue, if (wtx.nOrderPos == -1) wss.fAnyUnordered = true; - pwallet->AddToWallet(wtx, true, NULL); + pwallet->LoadToWallet(wtx); } else if (strType == "acentry") { |