Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/test/wallet_test_fixture.h
Show All 11 Lines | |||||
/** | /** | ||||
* Testing setup and teardown for wallet. | * Testing setup and teardown for wallet. | ||||
*/ | */ | ||||
struct WalletTestingSetup : public TestingSetup { | struct WalletTestingSetup : public TestingSetup { | ||||
explicit WalletTestingSetup( | explicit WalletTestingSetup( | ||||
const std::string &chainName = CBaseChainParams::MAIN); | const std::string &chainName = CBaseChainParams::MAIN); | ||||
~WalletTestingSetup(); | ~WalletTestingSetup(); | ||||
std::unique_ptr<CWallet> pwalletMain; | CWallet m_wallet; | ||||
}; | }; | ||||
#endif | #endif |