Skip to content

Commit 09eacee

Browse files
committed
[wallet] fix comment for CWallet::Verify()
1 parent 16240f4 commit 09eacee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/wallet/wallet.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,9 @@ class CWallet : public CCryptoKeyStore, public CValidationInterface
10661066
//! Flush wallet (bitdb flush)
10671067
void Flush(bool shutdown=false);
10681068

1069-
//! Verify the wallet database and perform salvage if required
1069+
//! Responsible for reading and validating the -wallet arguments and verifying the wallet database.
1070+
// This function will perform salvage on the wallet if requested, as long as only one wallet is
1071+
// being loaded (CWallet::ParameterInteraction forbids -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet).
10701072
static bool Verify();
10711073

10721074
/**

0 commit comments

Comments
 (0)