Browse Source

Test

etomic
jl777 7 years ago
parent
commit
1ef85d7665
  1. 2
      iguana/exchanges/LP_bitcoin.c

2
iguana/exchanges/LP_bitcoin.c

@ -3456,7 +3456,7 @@ bits256 bitcoin_sigtxid(char *symbol,uint8_t taddr,uint8_t pubtype,uint8_t p2sht
seqhash = bits256_doublesha256(0,serialized,len);
for (i=0; i<len; i++)
printf("%02x",serialized[i]);
char str[65]; printf(" sequenceid %08x -> %s\n",dest.vins[0].sequence,bits256_str(str,seqhash)); getchar();
char str[65],str2[65]; printf(" sequenceid %08x -> %s utxotxid.%s/v%d\n",dest.vins[0].sequence,bits256_str(str,seqhash),bits256_str(str2,dest.vins[0].prev_hash),dest.vins[0].prev_vout); getchar();
for (i=len=0; i<dest.tx_out; i++)
len += iguana_voutparse(1,&serialized[len],&dest.vouts[i]);

Loading…
Cancel
Save