diff options
| author | MarcoFalke <[email protected]> | 2019-11-22 16:24:38 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2019-12-05 14:22:05 -0500 |
| commit | fa660d65d7cc401ad5bbfdc076a074de19a79329 (patch) | |
| tree | e66d5323bd671bbfdec809b28775d8bf5d56ba8f /src/qt/test/wallettests.cpp | |
| parent | rpc: Use mempool from node context instead of global (diff) | |
| download | discoin-fa660d65d7cc401ad5bbfdc076a074de19a79329.tar.xz discoin-fa660d65d7cc401ad5bbfdc076a074de19a79329.zip | |
node: Use mempool from node context instead of global
Diffstat (limited to 'src/qt/test/wallettests.cpp')
| -rw-r--r-- | src/qt/test/wallettests.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/test/wallettests.cpp b/src/qt/test/wallettests.cpp index 980de711d..713904204 100644 --- a/src/qt/test/wallettests.cpp +++ b/src/qt/test/wallettests.cpp @@ -134,6 +134,7 @@ void TestGUI(interfaces::Node& node) test.CreateAndProcessBlock({}, GetScriptForRawPubKey(test.coinbaseKey.GetPubKey())); } node.context()->connman = std::move(test.m_node.connman); + node.context()->mempool = std::move(test.m_node.mempool); std::shared_ptr<CWallet> wallet = std::make_shared<CWallet>(node.context()->chain.get(), WalletLocation(), WalletDatabase::CreateMock()); bool firstRun; wallet->LoadWallet(firstRun); |