MCPcopy Create free account
hub / github.com/ElementsProject/elements / TestUnloadWallet

Function TestUnloadWallet

src/wallet/test/wallet_tests.cpp:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65static void TestUnloadWallet(std::shared_ptr<CWallet>&& wallet)
66{
67 SyncWithValidationInterfaceQueue();
68 wallet->m_chain_notifications_handler.reset();
69 UnloadWallet(std::move(wallet));
70}
71
72static CMutableTransaction TestSimpleSpend(const CTransaction& from, uint32_t index, const CKey& key, const CScript& pubkey)
73{

Callers 1

BOOST_FIXTURE_TEST_CASEFunction · 0.85

Calls 3

UnloadWalletFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected