This commit is contained in:
blackjok3r
2018-09-26 17:19:17 +08:00
parent dc43d72848
commit 42df9ee060

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");
printf("source.%s target.%s",ASSETCHAINS_SYMBOL,targetSymbol.c_str());
fprintf(stderr,"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");