Skip to content

Commit 9c76ba1

Browse files
committed
[wallet] Rename InitLoadWallet() to OpenWallets()
Rationale: - this init function can now open multiple wallets (hence Wallet->Wallets) - This is named as the antonym to CloseWallets(), which carries out the opposite action.
1 parent f088a1b commit 9c76ba1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
15671567

15681568
// ********************************************************* Step 8: load wallet
15691569
#ifdef ENABLE_WALLET
1570-
if (!InitLoadWallet())
1570+
if (!OpenWallets())
15711571
return false;
15721572
#else
15731573
LogPrintf("No wallet support compiled in!\n");

src/wallet/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ bool WalletVerify()
228228
return true;
229229
}
230230

231-
bool InitLoadWallet()
231+
bool OpenWallets()
232232
{
233233
if (gArgs.GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET)) {
234234
LogPrintf("Wallet disabled!\n");

src/wallet/init.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ bool WalletParameterInteraction();
2020
bool WalletVerify();
2121

2222
//! Load wallet databases.
23-
bool InitLoadWallet();
23+
bool OpenWallets();
2424

2525
#endif // BITCOIN_WALLET_INIT_H

0 commit comments

Comments
 (0)