From 142b72804e238182766746e05345a0fed738ffa0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 14 Nov 2017 03:46:41 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_bitcoin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_bitcoin.c b/iguana/exchanges/LP_bitcoin.c index 7d945ebb2..772e4aa34 100644 --- a/iguana/exchanges/LP_bitcoin.c +++ b/iguana/exchanges/LP_bitcoin.c @@ -3457,7 +3457,8 @@ int32_t iguana_rwmsgtx(uint8_t taddr,uint8_t pubtype,uint8_t p2shtype,uint8_t is } printf("), "); } - printf("witness sum %d vs max.%d\n",len,maxsize); + bits256 txid = bits256_doublesha256(0,serialized,len+sizeof(msg->lock_time)); + char str[65]; printf("witness sum %d vs max.%d txid %s\n",len,maxsize,bits256_str(str,txid)); } } len += iguana_rwnum(rwflag,&serialized[len],sizeof(msg->lock_time),&msg->lock_time);