diff --git a/src/init.cpp b/src/init.cpp index 7c99dc74e..387bd2e2f 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1567,7 +1567,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler) // ********************************************************* Step 8: load wallet #ifdef ENABLE_WALLET - if (!InitLoadWallet()) + if (!OpenWallets()) return false; #else LogPrintf("No wallet support compiled in!\n"); diff --git a/src/wallet/init.cpp b/src/wallet/init.cpp index 18365b1b7..95b188b62 100644 --- a/src/wallet/init.cpp +++ b/src/wallet/init.cpp @@ -228,7 +228,7 @@ bool WalletVerify() return true; } -bool InitLoadWallet() +bool OpenWallets() { if (gArgs.GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET)) { LogPrintf("Wallet disabled!\n"); diff --git a/src/wallet/init.h b/src/wallet/init.h index fa2251506..1821e5e70 100644 --- a/src/wallet/init.h +++ b/src/wallet/init.h @@ -20,6 +20,6 @@ bool WalletParameterInteraction(); bool WalletVerify(); //! Load wallet databases. -bool InitLoadWallet(); +bool OpenWallets(); #endif // BITCOIN_WALLET_INIT_H