diff --git a/iguana/exchanges/LP_bitcoin.c b/iguana/exchanges/LP_bitcoin.c index f0384174b..027f87624 100644 --- a/iguana/exchanges/LP_bitcoin.c +++ b/iguana/exchanges/LP_bitcoin.c @@ -2035,10 +2035,12 @@ bits256 bits256_calctxid(char *symbol,uint8_t *serialized,int32_t len) if ( strcmp(symbol,"SMART") == 0 ) { HashKeccak(txid.bytes,revtxid.bytes,sizeof(revtxid)); - revtxid = txid; } - for (i=0; i<32; i++) - txid.bytes[i] = revtxid.bytes[31 - i]; + else + { + for (i=0; i<32; i++) + txid.bytes[i] = revtxid.bytes[31 - i]; + } } return(txid); }