Parameterize KOMODO_FIRSTFUNGIBLEID to 100

This commit is contained in:
jl777
2018-07-29 00:37:37 -11:00
parent 572ce78169
commit 072dba5f83
3 changed files with 6 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ 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)
if (targetCcid < KOMODO_FIRSTFUNGIBLEID)
return Invalid("chain-not-fungible");
// check burn amount