MERGE FIX: enable parent chain in fedpeg-based unit tests

This commit is contained in:
Gregory Sanders 2019-01-29 14:39:54 +00:00
parent c73e56428b
commit 9494052023

View file

@ -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.