diff --git a/iguana/exchanges/LP_coins.c b/iguana/exchanges/LP_coins.c index 2634b914e..83d01b2c8 100644 --- a/iguana/exchanges/LP_coins.c +++ b/iguana/exchanges/LP_coins.c @@ -245,13 +245,7 @@ struct iguana_info *LP_coinfind(char *symbol) } else if ( strcmp(symbol,"KMD") == 0 ) name = "komodo"; - else if ( strcmp(symbol,"HUSH") == 0 ) - name = "hush"; - else - { - name = symbol; - assetname = symbol; - } + else return(0); LP_coininit(&cdata,symbol,name,assetname,isPoS,port,pubtype,p2shtype,wiftype,txfee,estimatedrate,longestchain,0); if ( (coin= LP_coinadd(&cdata)) != 0 && strcmp(symbol,"KMD") == 0 ) coin->inactive = 0; @@ -281,6 +275,8 @@ struct iguana_info *LP_coincreate(cJSON *item) name = assetname; else if ( (name= jstr(item,"name")) == 0 ) name = symbol; + if ( strcmp(symbol,"HUSH") == 0 ) + printf("init HUSH %s %s %s\n",symbol,name,assetname); LP_coininit(&cdata,symbol,name,assetname==0?"":assetname,isPoS,port,pubtype,p2shtype,wiftype,txfee,estimatedrate,longestchain,jint(item,"taddr")); coin = LP_coinadd(&cdata); }