Browse Source

Third

jl777
jl777 7 years ago
parent
commit
b1e0e9e0dd
  1. 5
      iguana/exchanges/LP_bitcoin.c

5
iguana/exchanges/LP_bitcoin.c

@ -2032,9 +2032,12 @@ bits256 bits256_calctxid(char *symbol,uint8_t *serialized,int32_t len)
else
{
vcalc_sha256(0,revtxid.bytes,serialized,len);
for (i=0; i<32; i++)
txid.bytes[i] = revtxid.bytes[31 - i];
if ( strcmp(symbol,"SMART") == 0 )
{
HashKeccak(txid.bytes,revtxid.bytes,sizeof(revtxid));
HashKeccak(revtxid.bytes,txid.bytes,sizeof(txid));
txid = revtxid;
}
else
{

Loading…
Cancel
Save