This commit is contained in:
blackjok3r
2018-09-26 15:56:38 +08:00
parent 79171fa13b
commit 054eb923f9

View File

@@ -169,7 +169,7 @@ UniValue migrate_converttoexport(const UniValue& params, bool fHelp)
if (targetSymbol.size() == 0 || targetSymbol.size() > 32)
throw runtime_error("targetSymbol length must be >0 and <=32");
if (strncmp(ASSETCHAINS_SYMBOL,targetSymbol) == 0)
if (strcmp(ASSETCHAINS_SYMBOL,targetSymbol) == 0)
throw runtime_error("cant send a coin to the same chain");
CAmount burnAmount = AmountFromValue(params[2]);