Browse Source

Test

etomic
jl777 7 years ago
parent
commit
02db7e2202
  1. 6
      iguana/exchanges/LP_bitcoin.c

6
iguana/exchanges/LP_bitcoin.c

@ -3442,9 +3442,9 @@ bits256 bitcoin_sigtxid(char *symbol,uint8_t taddr,uint8_t pubtype,uint8_t p2sht
printf("%02x",serialized[i]);
revsigtxid = bits256_doublesha256(0,serialized,len);
printf(" B path version.%08x spendamount %.8f locktime %u hashtype %08x %s\n",dest.version,dstr(spendamount),dest.lock_time,hashtype,bits256_str(str,revsigtxid));
//for (i=0; i<sizeof(revsigtxid); i++)
// sigtxid.bytes[31-i] = revsigtxid.bytes[i];
sigtxid = revsigtxid;
for (i=0; i<sizeof(revsigtxid); i++)
sigtxid.bytes[31-i] = revsigtxid.bytes[i];
//sigtxid = revsigtxid;
}
//char str[65]; printf("SIGTXID.(%s) numvouts.%d\n",bits256_str(str,sigtxid),dest.tx_out);
free(dest.vins);

Loading…
Cancel
Save