|
@ -541,6 +541,8 @@ int32_t LP_recvfunc(struct electrum_info *ep,char *str,int32_t len) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
idnum = juint(strjson,"id"); |
|
|
idnum = juint(strjson,"id"); |
|
|
|
|
|
if ( 0 ) // crashes cipi's node
|
|
|
|
|
|
{ |
|
|
portable_mutex_lock(&ep->pendingQ.mutex); |
|
|
portable_mutex_lock(&ep->pendingQ.mutex); |
|
|
if ( ep->pendingQ.list != 0 ) |
|
|
if ( ep->pendingQ.list != 0 ) |
|
|
{ |
|
|
{ |
|
@ -569,6 +571,7 @@ int32_t LP_recvfunc(struct electrum_info *ep,char *str,int32_t len) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
portable_mutex_unlock(&ep->pendingQ.mutex); |
|
|
portable_mutex_unlock(&ep->pendingQ.mutex); |
|
|
|
|
|
} |
|
|
if ( item != 0 ) |
|
|
if ( item != 0 ) |
|
|
{ |
|
|
{ |
|
|
// do callback
|
|
|
// do callback
|
|
|