Browse Source

Merge pull request #628 from jl777/jl777

Fix crash
patch-3
jl777 7 years ago
committed by GitHub
parent
commit
7eb9c458db
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      iguana/exchanges/LP_transaction.c

3
iguana/exchanges/LP_transaction.c

@ -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));

Loading…
Cancel
Save