We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e502c3c commit 5fd73c8Copy full SHA for 5fd73c8
src/test/test_bitcoin.cpp
@@ -45,7 +45,11 @@ BasicTestingSetup::BasicTestingSetup(const std::string& chainName)
45
// TODO: fix the code to support SegWit blocks.
46
gArgs.ForceSetArg("-vbparams", strprintf("segwit:0:%d", (int64_t)Consensus::BIP9Deployment::NO_TIMEOUT));
47
SelectParams(chainName);
48
- noui_connect();
+ static bool noui_connected = false;
49
+ if (!noui_connected) {
50
+ noui_connect();
51
+ noui_connected = true;
52
+ }
53
}
54
55
BasicTestingSetup::~BasicTestingSetup()
0 commit comments