diff --git a/src/init.cpp b/src/init.cpp index 387bd2e2f7..ce368a6bb1 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1246,7 +1246,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler) // ********************************************************* Step 5: verify wallet database integrity #ifdef ENABLE_WALLET - if (!WalletVerify()) + if (!VerifyWallets()) return false; #endif // ********************************************************* Step 6: network initialization diff --git a/src/wallet/init.cpp b/src/wallet/init.cpp index 95b188b629..f39201e79c 100644 --- a/src/wallet/init.cpp +++ b/src/wallet/init.cpp @@ -171,7 +171,7 @@ bool WalletParameterInteraction() return true; } -bool WalletVerify() +bool VerifyWallets() { if (gArgs.GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET)) return true; diff --git a/src/wallet/init.h b/src/wallet/init.h index 1821e5e707..a66b359439 100644 --- a/src/wallet/init.h +++ b/src/wallet/init.h @@ -17,7 +17,7 @@ bool WalletParameterInteraction(); //! Responsible for reading and validating the -wallet arguments and verifying the wallet database. // This function will perform salvage on the wallet if requested, as long as only one wallet is // being loaded (CWallet::ParameterInteraction forbids -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet). -bool WalletVerify(); +bool VerifyWallets(); //! Load wallet databases. bool OpenWallets();