Rogue exemption in tokens

This commit is contained in:
jl777
2019-02-11 08:24:41 -11:00
parent 706d798676
commit 431562b77d
2 changed files with 3 additions and 5 deletions

View File

@@ -238,7 +238,8 @@ bool TokensValidate(struct CCcontract_info *cp, Eval* eval, const CTransaction &
char destaddr[64], origaddr[64], CCaddr[64];
std::vector<CPubKey> voutTokenPubkeys;
//return true;
if (strcmp(ASSETCHAINS_SYMBOL, "ROGUE") == 0 && chainActive.Height() <= 12500)
return true;
numvins = tx.vin.size();
numvouts = tx.vout.size();

View File

@@ -153,10 +153,7 @@ bool AssetsValidate(struct CCcontract_info *cpAssets,Eval* eval,const CTransacti
if (strcmp(ASSETCHAINS_SYMBOL, "MGNX") == 0 && chainActive.Height() <= 210190)
return true;
if (strcmp(ASSETCHAINS_SYMBOL, "ROGUE") == 0 && chainActive.Height() <= 12500)
return true;
if (numvouts == 0)
return eval->Invalid("AssetValidate: no vouts");