Browse Source

Test

patch-3
jl777 7 years ago
parent
commit
f8a919cc60
  1. 2
      iguana/exchanges/LP_transaction.c
  2. 2
      iguana/exchanges/LP_utxo.c

2
iguana/exchanges/LP_transaction.c

@ -1329,7 +1329,7 @@ char *LP_createrawtransaction(cJSON **txobjp,int32_t *numvinsp,struct iguana_inf
if ( spendlen < sizeof(script) ) if ( spendlen < sizeof(script) )
{ {
decode_hex(spendscript,spendlen,scriptstr); decode_hex(spendscript,spendlen,scriptstr);
printf("i.%d using external script.(%s) %d\n",i,scriptstr,spendlen); //printf("i.%d using external script.(%s) %d\n",i,scriptstr,spendlen);
} }
else else
{ {

2
iguana/exchanges/LP_utxo.c

@ -444,7 +444,7 @@ int32_t LP_address_utxoadd(int32_t skipsearch,uint32_t timestamp,char *debug,str
//char str[65]; printf("prevent utxoadd since gettxout %s %s %s/v%d missing\n",coin->symbol,coinaddr,bits256_str(str,txid),vout); //char str[65]; printf("prevent utxoadd since gettxout %s %s %s/v%d missing\n",coin->symbol,coinaddr,bits256_str(str,txid),vout);
return(0); return(0);
} }
if ( (sobj= jobj(txout,"scriptPubKey")) != 0 ) if ( (sobj= jobj(txobj,"scriptPubKey")) != 0 )
{ {
if ( (hexstr= jstr(sobj,"hex")) != 0 ) if ( (hexstr= jstr(sobj,"hex")) != 0 )
{ {

Loading…
Cancel
Save