jl777
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
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"); |
|
|
txid = jbits256(txobj,"txid"); |
|
|
if ( jobj(txobj,"error") == 0 && bits256_cmp(txid,expectedtxid) == 0 ) |
|
|
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 ) |
|
|
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));
|
|
|
//char str[65]; printf("%s %s already in gettx (%s)\n",coinaddr,bits256_str(str,txid),jprint(txobj,0));
|
|
|