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.
This commit is contained in:
Wladimir J. van der Laan 2016-04-18 15:15:57 +02:00 committed by Jack Grigg
parent 3782c4d6ab
commit e42359dcbf
No known key found for this signature in database
GPG Key ID: 9E8255172BBF9898
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ WalletTestingSetup::WalletTestingSetup(): TestingSetup()
bitdb.MakeMock();
bool fFirstRun;
pwalletMain = new CWallet("wallet.dat");
pwalletMain = new CWallet("wallet_test.dat");
pwalletMain->LoadWallet(fFirstRun);
RegisterValidationInterface(pwalletMain);