skip till 2100

This commit is contained in:
dimxy
2019-04-23 15:40:40 +05:00
parent 52fb9e88cb
commit 8a46a75d0e
+3
View File
@@ -261,6 +261,9 @@ bool PricesValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &tx
{ {
vscript_t vopret; vscript_t vopret;
if (strcmp(ASSETCHAINS_SYMBOL, "REKT0") == 0 && chainActive.Height() < 2100)
return true;
// check basic opret rules: // check basic opret rules:
if (!CheckPricesOpret(tx, vopret)) if (!CheckPricesOpret(tx, vopret))
return eval->Invalid("tx has no prices opreturn"); return eval->Invalid("tx has no prices opreturn");