ac_cc under 1000 is not fungible

This commit is contained in:
Scott Sadler
2018-07-26 16:06:01 -03:00
parent fff7c5d249
commit 0f4a3ceaa9
3 changed files with 8 additions and 5 deletions

View File

@@ -54,6 +54,9 @@ bool Eval::ImportCoin(const std::vector<uint8_t> params, const CTransaction &imp
if (targetCcid != GetAssetchainsCC() || targetSymbol != GetAssetchainsSymbol())
return Invalid("importcoin-wrong-chain");
if (targetCcid <= 1000)
return Invalid("chain-not-fungible");
// check burn amount
{
uint64_t burnAmount = burnTx.vout[0].nValue;