| 10 | |
| 11 | namespace wallet { |
| 12 | WalletTestingSetup::WalletTestingSetup(const ChainType chainType) |
| 13 | : TestingSetup(chainType), |
| 14 | m_wallet_loader{interfaces::MakeWalletLoader(*m_node.chain, *Assert(m_node.args))}, |
| 15 | m_wallet(m_node.chain.get(), "", CreateMockableWalletDatabase()) |
| 16 | { |
| 17 | m_chain_notifications_handler = m_node.chain->handleNotifications({ &m_wallet, [](CWallet*) {} }); |
| 18 | m_wallet_loader->registerRpcs(); |
| 19 | } |
| 20 | |
| 21 | WalletTestingSetup::~WalletTestingSetup() |
| 22 | { |
nothing calls this directly
no test coverage detected