From d7c1081f94e704b8e1ce4d485bcd90a98f731b3c Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 18 Sep 2016 05:48:38 -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 39910238c..a8286da54 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -2032,9 +2032,9 @@ void iguana_blockunmark(struct iguana_info *coin,struct iguana_block *block,stru } if ( deletefile != 0 && block != 0 ) iguana_blockdelete(coin,block->RO.hash2,i); - if ( coin->RTheight > 0 && height > 0 && height < coin->blocks.hwmchain.height ) + if ( 0 && coin->RTheight > 0 && height > 0 && height < coin->blocks.hwmchain.height ) { - printf("reduce HWM height from %d to %d\n",coin->blocks.hwmchain.height,height); + printf("reduce %s HWM height from %d to %d\n",coin->symbol,coin->blocks.hwmchain.height,height); if ( (block= iguana_blockfind("unmark",coin,iguana_blockhash(coin,height))) != 0 ) iguana_blockcopy(coin->chain->zcash,coin->chain->auxpow,coin,(struct iguana_block *)&coin->blocks.hwmchain,block); }