|
|
|
@ -688,7 +688,7 @@ BOOST_FIXTURE_TEST_CASE(wallet_descriptor_test, BasicTestingSetup)
|
|
|
|
|
BOOST_CHECK_EXCEPTION(vr >> w_desc, std::ios_base::failure, malformed_descriptor);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//! Test CreateWalletFromFile function and its behavior handling potential race
|
|
|
|
|
//! Test CWallet::Create() and its behavior handling potential race
|
|
|
|
|
//! conditions if it's called the same time an incoming transaction shows up in
|
|
|
|
|
//! the mempool or a new block.
|
|
|
|
|
//!
|
|
|
|
@ -706,7 +706,7 @@ BOOST_FIXTURE_TEST_CASE(wallet_descriptor_test, BasicTestingSetup)
|
|
|
|
|
//! wallet rescan and notifications are immediately synced, to verify the wallet
|
|
|
|
|
//! must already have a handler in place for them, and there's no gap after
|
|
|
|
|
//! rescanning where new transactions in new blocks could be lost.
|
|
|
|
|
BOOST_FIXTURE_TEST_CASE(CreateWalletFromFile, TestChain100Setup)
|
|
|
|
|
BOOST_FIXTURE_TEST_CASE(CreateWallet, TestChain100Setup)
|
|
|
|
|
{
|
|
|
|
|
// Create new wallet with known key and unload it.
|
|
|
|
|
auto chain = interfaces::MakeChain(m_node);
|
|
|
|
|