| 8 | |
| 9 | namespace wallet { |
| 10 | WalletTestingSetup::WalletTestingSetup(const std::string& chainName) |
| 11 | : TestingSetup(chainName), |
| 12 | m_wallet(m_node.chain.get(), "", m_args, CreateMockWalletDatabase()) |
| 13 | { |
| 14 | m_wallet.LoadWallet(); |
| 15 | m_chain_notifications_handler = m_node.chain->handleNotifications({ &m_wallet, [](CWallet*) {} }); |
| 16 | m_wallet_loader->registerRpcs(); |
| 17 | } |
| 18 | |
| 19 | WalletTestingSetup::~WalletTestingSetup() |
| 20 | { |
nothing calls this directly
no test coverage detected