diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-18 15:15:57 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-18 15:17:08 +0200 |
commit | b30fb42e499beee5899b7e0e6c7581101b14ee83 (patch) | |
tree | 15d6b77e4ebf531940516dedfd917578984c37b1 | |
parent | a25a4f5b04c3e045557e9e7e807b2af74ad75128 (diff) |
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.
-rw-r--r-- | src/wallet/test/wallet_test_fixture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/test/wallet_test_fixture.cpp b/src/wallet/test/wallet_test_fixture.cpp index 8370300963..9036ee26d8 100644 --- a/src/wallet/test/wallet_test_fixture.cpp +++ b/src/wallet/test/wallet_test_fixture.cpp @@ -10,7 +10,7 @@ WalletTestingSetup::WalletTestingSetup(const std::string& chainName): bitdb.MakeMock(); bool fFirstRun; - pwalletMain = new CWallet("wallet.dat"); + pwalletMain = new CWallet("wallet_test.dat"); pwalletMain->LoadWallet(fFirstRun); RegisterValidationInterface(pwalletMain); |