From 0d8b13f1a213f6f66d3a00b4c7d8130d9e2b8d4a Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 13 Aug 2016 02:34:55 -0300 Subject: [PATCH] test --- iguana/iguana_ramchain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 234fa5630..16c3ab036 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -1865,7 +1865,7 @@ long iguana_ramchain_data(struct iguana_info *coin,struct iguana_peer *addr,stru if ( bits256_cmp(merkle_root,origtxdata->zblock.RO.merkle_root) != 0 ) { char str[65],str2[65]; - printf(">>>>>>>>>> %s merkle mismatch.[%d] calc.(%s) vs (%s)\n",coin->symbol,txn_count,bits256_str(str,merkle_root),bits256_str(str2,origtxdata->zblock.RO.merkle_root)); + printf(">>>>>>>>>> %s %s merkle mismatch.[%d] calc.(%s) vs (%s)\n",addr->ipaddr,coin->symbol,txn_count,bits256_str(str,merkle_root),bits256_str(str2,origtxdata->zblock.RO.merkle_root)); origtxdata->zblock.RO.recvlen = 0; origtxdata->zblock.issued = 0; return(-1); @@ -2011,12 +2011,12 @@ long iguana_ramchain_data(struct iguana_info *coin,struct iguana_peer *addr,stru fpos = -1; } } - iguana_ramchain_free(coin,ramchain,0); } if ( fpos < 0 ) iguana_blockunmark(coin,block,bp,bundlei,1); //fprintf(stderr,"finished with hdrsi.%d ht.%d scripts.%u:%u\n",bp->hdrsi,bp->bundleheight,ramchain->H.scriptoffset,rdata->scriptspace); ramchain->H.ROflag = 0; + iguana_ramchain_free(coin,ramchain,0); return(fpos); }