Skip to content

Commit

Permalink
Merge pull request jl777#628 from jl777/jl777
Browse files Browse the repository at this point in the history
Fix crash
  • Loading branch information
jl777 authored Feb 28, 2018
2 parents 765c740 + b9fa06e commit 7eb9c45
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 7eb9c45

Please sign in to comment.