This commit is contained in:
blackjok3r
2018-09-26 16:59:52 +08:00
parent 66874998de
commit 3e94e0a37b

View File

@@ -169,6 +169,8 @@ 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");
printf("source.%s target.%s",ASSETCHAINS_SYMBOL,targetSymbol.c_str())
if (strcmp(ASSETCHAINS_SYMBOL,targetSymbol.c_str()) == 0)
throw runtime_error("cant send a coin to the same chain");