Skip to content

Commit b30fb42

Browse files
committed
test: Rename wallet.dat to wallet_test.dat
Indicate that the file name is not hardcoded, and a little bit of safety so that it never nukes the main wallet. Suggestion by Marco Falke.
1 parent a25a4f5 commit b30fb42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/test/wallet_test_fixture.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ WalletTestingSetup::WalletTestingSetup(const std::string& chainName):
1010
bitdb.MakeMock();
1111

1212
bool fFirstRun;
13-
pwalletMain = new CWallet("wallet.dat");
13+
pwalletMain = new CWallet("wallet_test.dat");
1414
pwalletMain->LoadWallet(fFirstRun);
1515
RegisterValidationInterface(pwalletMain);
1616

0 commit comments

Comments
 (0)