diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index 22c3c07bd9..753ed6f2a8 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -62,6 +62,7 @@ BasicTestingSetup::BasicTestingSetup(const std::string& chainName, const std::st // Hack to allow testing of fedpeg args if (!fedpegscript.empty()) { gArgs.SoftSetArg("-fedpegscript", fedpegscript); + gArgs.SoftSetBoolArg("-con_has_parent_chain", true); } // CreateAndProcessBlock() does not support building SegWit blocks, so don't activate in these tests. // TODO: fix the code to support SegWit blocks.