From 46cb6126d2ba9696ab014b362410c190ec5fe55d Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 21 Jun 2016 17:37:46 -0300 Subject: [PATCH] test --- iguana/iguana777.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 64ee7d7c6..c0937732f 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -42,7 +42,6 @@ struct iguana_info *iguana_coinadd(char *symbol,char *name,cJSON *argjson) struct iguana_info *coin; uint32_t symbolcrc; char *privatechain; int32_t j; struct supernet_info *myinfo = SuperNET_MYINFO(0); if ( (coin= iguana_coinfind(symbol)) == 0 ) { - portable_mutex_lock(&myinfo->allcoins_mutex); if ( (coin= iguana_coinfind(symbol)) == 0 ) { myinfo->allcoins_being_added = 1; @@ -81,7 +80,6 @@ struct iguana_info *iguana_coinadd(char *symbol,char *name,cJSON *argjson) portable_mutex_unlock(&myinfo->allcoins_mutex); myinfo->allcoins_being_added = 0; } - portable_mutex_unlock(&myinfo->allcoins_mutex); if ( (coin= iguana_coinfind(symbol)) == 0 ) printf("error finding justadded.(%s)\n",symbol); }