From f3829172d2b9d7a639bc2511d682612d5637aabf Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 14 Aug 2016 17:47:19 -0300 Subject: [PATCH] test --- iguana/iguana_realtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_realtime.c b/iguana/iguana_realtime.c index e6b9a35b8..d3c8217d2 100755 --- a/iguana/iguana_realtime.c +++ b/iguana/iguana_realtime.c @@ -277,7 +277,7 @@ int32_t iguana_realtime_update(struct supernet_info *myinfo,struct iguana_info * if ( coin->RTdatabad == 0 && bp->hdrsi == coin->longestchain/coin->chain->bundlesize && bp->hdrsi >= coin->balanceswritten-2 && ((coin->RTheight < coin->blocks.hwmchain.height-offset && time(NULL) > bp->lastRT) || time(NULL) > bp->lastRT+1) ) //coin->RTheight >= bp->bundleheight && coin->RTheight < bp->bundleheight+bp->n && { if ( coin->RTheight == 0 ) - coin->RTheight = (coin->bundlescount - 1) * coin->chain->bundlesize; + coin->RTheight = (coin->bundlescount - 2) * coin->chain->bundlesize; if ( (block= bp->blocks[0]) == 0 || block->txvalid == 0 || block->mainchain == 0 ) { if ( block != 0 )