diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2020-12-07 20:46:03 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2020-12-07 20:46:03 -0500 |
commit | 5baa88fd38c8efa0e361636bb2c60af89d27b5d5 (patch) | |
tree | 28934984ebd700f7b4369b9cf9dd6940d05b0edf /src/wallet/test/wallet_test_fixture.h | |
parent | 6965f1352d2d7086d308750ce83a84f191a17755 (diff) |
test: Remove no longer needed MakeChain calls
These calls are no longer needed after edc316020e8270dafc5e31465d532baebdafd3dd
from #19098 which started instantiating BasicTestingSetup.m_node.chain
Patch from MarcoFalke <falke.marco@gmail.com> in
https://github.com/bitcoin/bitcoin/pull/19425#discussion_r526701954
Co-authored-by: MarcoFalke <falke.marco@gmail.com>
Diffstat (limited to 'src/wallet/test/wallet_test_fixture.h')
-rw-r--r-- | src/wallet/test/wallet_test_fixture.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/test/wallet_test_fixture.h b/src/wallet/test/wallet_test_fixture.h index ba8a5ff1f3..ab7fb8c42b 100644 --- a/src/wallet/test/wallet_test_fixture.h +++ b/src/wallet/test/wallet_test_fixture.h @@ -20,8 +20,7 @@ struct WalletTestingSetup : public TestingSetup { explicit WalletTestingSetup(const std::string& chainName = CBaseChainParams::MAIN); - std::unique_ptr<interfaces::Chain> m_chain = interfaces::MakeChain(m_node); - std::unique_ptr<interfaces::WalletClient> m_wallet_client = interfaces::MakeWalletClient(*m_chain, *Assert(m_node.args)); + std::unique_ptr<interfaces::WalletClient> m_wallet_client = interfaces::MakeWalletClient(*m_node.chain, *Assert(m_node.args)); CWallet m_wallet; std::unique_ptr<interfaces::Handler> m_chain_notifications_handler; }; |