mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
Fix Qt test broken by #22219
It looks like this should have been caught by CI but perhaps there was a conflict with a recently merged PR. Failure reported by fanquake <fanquake@gmail.com> https://github.com/bitcoin/bitcoin/pull/22219#issuecomment-920496509
This commit is contained in:
parent
bd5670eafc
commit
865ee1af20
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ void EditAddressAndSubmit(
|
||||||
void TestAddAddressesToSendBook(interfaces::Node& node)
|
void TestAddAddressesToSendBook(interfaces::Node& node)
|
||||||
{
|
{
|
||||||
TestChain100Setup test;
|
TestChain100Setup test;
|
||||||
|
auto wallet_client = interfaces::MakeWalletClient(*test.m_node.chain, *Assert(test.m_node.args));
|
||||||
|
test.m_node.wallet_client = wallet_client.get();
|
||||||
node.setContext(&test.m_node);
|
node.setContext(&test.m_node);
|
||||||
std::shared_ptr<CWallet> wallet = std::make_shared<CWallet>(node.context()->chain.get(), "", CreateMockWalletDatabase());
|
std::shared_ptr<CWallet> wallet = std::make_shared<CWallet>(node.context()->chain.get(), "", CreateMockWalletDatabase());
|
||||||
wallet->SetupLegacyScriptPubKeyMan();
|
wallet->SetupLegacyScriptPubKeyMan();
|
||||||
|
|
Loading…
Add table
Reference in a new issue