Skip to content

Commit 1b9cee6

Browse files
committed
[wallet] Rename WalletVerify() to VerifyWallets()
This function can now verify multiple wallets.
1 parent 9c76ba1 commit 1b9cee6

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
@@ -1246,7 +1246,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
12461246

12471247
// ********************************************************* Step 5: verify wallet database integrity
12481248
#ifdef ENABLE_WALLET
1249-
if (!WalletVerify())
1249+
if (!VerifyWallets())
12501250
return false;
12511251
#endif
12521252
// ********************************************************* Step 6: network initialization

src/wallet/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ bool WalletParameterInteraction()
171171
return true;
172172
}
173173

174-
bool WalletVerify()
174+
bool VerifyWallets()
175175
{
176176
if (gArgs.GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET))
177177
return true;

src/wallet/init.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ bool WalletParameterInteraction();
1717
//! Responsible for reading and validating the -wallet arguments and verifying the wallet database.
1818
// This function will perform salvage on the wallet if requested, as long as only one wallet is
1919
// being loaded (CWallet::ParameterInteraction forbids -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet).
20-
bool WalletVerify();
20+
bool VerifyWallets();
2121

2222
//! Load wallet databases.
2323
bool OpenWallets();

0 commit comments

Comments
 (0)