workaround for assetchain mining blocks in regtest mode

This commit is contained in:
Scott Sadler
2018-05-28 17:53:49 -03:00
parent f937f44e10
commit 3fdb378291
3 changed files with 12 additions and 5 deletions

View File

@@ -28,6 +28,7 @@
extern uint256 komodo_calcMoM(int32_t height,int32_t MoMdepth);
extern bool KOMODO_TEST_ASSETCHAIN_SKIP_POW;
/*
@@ -48,6 +49,7 @@ public:
protected:
static void SetUpTestCase() { }
virtual void SetUp() {
KOMODO_TEST_ASSETCHAIN_SKIP_POW = 1;
ASSETCHAINS_CC = 1;
EVAL_TEST = this;
}