diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-07-30 16:00:56 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2019-03-05 10:20:00 -0400 |
commit | 91868e6288abf9d133620b585bc6de793a11e0e3 (patch) | |
tree | 19fd82b1cfacf752ea4802b6ae4c0dfda9a94c2e /src/wallet/test/wallet_test_fixture.cpp | |
parent | d8a62db8bf68896397f175e1d7d52b7be5021985 (diff) |
Remove use CValidationInterface in wallet code
This commit does not change behavior.
Diffstat (limited to 'src/wallet/test/wallet_test_fixture.cpp')
-rw-r--r-- | src/wallet/test/wallet_test_fixture.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/wallet/test/wallet_test_fixture.cpp b/src/wallet/test/wallet_test_fixture.cpp index a5fb1db86c..6a9922b3cd 100644 --- a/src/wallet/test/wallet_test_fixture.cpp +++ b/src/wallet/test/wallet_test_fixture.cpp @@ -13,12 +13,7 @@ WalletTestingSetup::WalletTestingSetup(const std::string& chainName): { bool fFirstRun; m_wallet.LoadWallet(fFirstRun); - RegisterValidationInterface(&m_wallet); + m_wallet.m_chain_notifications_handler = m_chain->handleNotifications(m_wallet); RegisterWalletRPCCommands(tableRPC); } - -WalletTestingSetup::~WalletTestingSetup() -{ - UnregisterValidationInterface(&m_wallet); -} |