diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2017-03-09 20:56:58 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2017-06-05 22:27:57 +0000 |
commit | 19b3648bb52d27c3a9674159d71726b73fe532d9 (patch) | |
tree | 06736b4b84033fdffe3e820a1d1ab40fa91b14ec /src/wallet/wallet.cpp | |
parent | 74e87389616ce1147c65f0e49f3d84b817693ac6 (diff) | |
download | bitcoin-19b3648bb52d27c3a9674159d71726b73fe532d9.tar.xz |
CWalletDB: Store the update counter per wallet
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r-- | src/wallet/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 547daf5c62..9d49b72308 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -3884,7 +3884,7 @@ CWallet* CWallet::CreateWalletFromFile(const std::string walletFile) walletInstance->ScanForWalletTransactions(pindexRescan, true); LogPrintf(" rescan %15dms\n", GetTimeMillis() - nStart); walletInstance->SetBestChain(chainActive.GetLocator()); - CWalletDB::IncrementUpdateCounter(); + walletInstance->dbw->IncrementUpdateCounter(); // Restore wallet transaction metadata after -zapwallettxes=1 if (GetBoolArg("-zapwallettxes", false) && GetArg("-zapwallettxes", "1") != "2") |