Rogue exemption in tokens
This commit is contained in:
@@ -238,7 +238,8 @@ bool TokensValidate(struct CCcontract_info *cp, Eval* eval, const CTransaction &
|
|||||||
char destaddr[64], origaddr[64], CCaddr[64];
|
char destaddr[64], origaddr[64], CCaddr[64];
|
||||||
std::vector<CPubKey> voutTokenPubkeys;
|
std::vector<CPubKey> voutTokenPubkeys;
|
||||||
|
|
||||||
//return true;
|
if (strcmp(ASSETCHAINS_SYMBOL, "ROGUE") == 0 && chainActive.Height() <= 12500)
|
||||||
|
return true;
|
||||||
|
|
||||||
numvins = tx.vin.size();
|
numvins = tx.vin.size();
|
||||||
numvouts = tx.vout.size();
|
numvouts = tx.vout.size();
|
||||||
|
|||||||
@@ -153,10 +153,7 @@ bool AssetsValidate(struct CCcontract_info *cpAssets,Eval* eval,const CTransacti
|
|||||||
|
|
||||||
if (strcmp(ASSETCHAINS_SYMBOL, "MGNX") == 0 && chainActive.Height() <= 210190)
|
if (strcmp(ASSETCHAINS_SYMBOL, "MGNX") == 0 && chainActive.Height() <= 210190)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (strcmp(ASSETCHAINS_SYMBOL, "ROGUE") == 0 && chainActive.Height() <= 12500)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
if (numvouts == 0)
|
if (numvouts == 0)
|
||||||
return eval->Invalid("AssetValidate: no vouts");
|
return eval->Invalid("AssetValidate: no vouts");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user