Skip to content

Commit

Permalink
Fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
jl777 committed Feb 28, 2018
1 parent 05fae0c commit b9fa06e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iguana/exchanges/LP_transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ int32_t LP_gettx_presence(int32_t *numconfirmsp,char *symbol,bits256 expectedtxi
txid = jbits256(txobj,"txid");
if ( jobj(txobj,"error") == 0 && bits256_cmp(txid,expectedtxid) == 0 )
{
*numconfirmsp = 0;
if ( numconfirmsp != 0 )
*numconfirmsp = 0;
if ( numconfirmsp != 0 && coinaddr != 0 && (coin= LP_coinfind(symbol)) != 0 && coin->electrum != 0 )
{
//char str[65]; printf("%s %s already in gettx (%s)\n",coinaddr,bits256_str(str,txid),jprint(txobj,0));
Expand Down

0 comments on commit b9fa06e

Please sign in to comment.