From 721dd9c23dca50202eaf987ef8980ecb537ad87f Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 11 Nov 2017 11:37:01 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_cache.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/iguana/exchanges/LP_cache.c b/iguana/exchanges/LP_cache.c index b7231c95d..1c38e1edc 100644 --- a/iguana/exchanges/LP_cache.c +++ b/iguana/exchanges/LP_cache.c @@ -257,12 +257,9 @@ int32_t LP_merkleproof(struct iguana_info *coin,struct electrum_info *ep,bits256 if ( bits256_cmp(merkleroot,roothash) == 0 ) { SPV = height; + LP_SPV_store(coin,txid,height); if ( tx != 0 ) - { tx->SPV = height; - printf("tx len.%d ht.%d %d\n",tx->len,tx->height,height); - } - LP_SPV_store(coin,txid,height); //printf("validated MERK %s ht.%d -> %s root.(%s)\n",bits256_str(str,txid),height,jprint(merkobj,0),bits256_str(str2,roothash)); } else printf("ERROR MERK %s ht.%d -> %s root.(%s) vs %s\n",bits256_str(str,txid),height,jprint(merkobj,0),bits256_str(str2,roothash),bits256_str(str3,merkleroot));