Skip to content

Commit

Permalink
wallet_tests: mock wallet db.
Browse files Browse the repository at this point in the history
  • Loading branch information
furszy committed Jul 21, 2021
1 parent 565abcd commit 351d2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/test/wallet_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ BOOST_AUTO_TEST_CASE(cached_balances_tests)
CAmount nCredit = 20 * COIN;

// Setup wallet
CWallet wallet("testWallet1", CWalletDBWrapper::Create(fs::absolute("testWallet1", GetWalletDir())));
CWallet wallet("testWallet1", CWalletDBWrapper::CreateMock());
bool fFirstRun;
BOOST_CHECK_EQUAL(wallet.LoadWallet(fFirstRun), DB_LOAD_OK);
LOCK2(cs_main, wallet.cs_wallet);
Expand Down

0 comments on commit 351d2c8

Please sign in to comment.