From 5ca54479a7f9f332a9fc7eb5e5fdff5722cee8fe Mon Sep 17 00:00:00 2001 From: Arionum Date: Mon, 13 Aug 2018 04:56:01 +0300 Subject: [PATCH] hf extend --- sanity.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sanity.php b/sanity.php index 1214c3b..e0e8272 100755 --- a/sanity.php +++ b/sanity.php @@ -494,7 +494,7 @@ if ($current['height'] < $largest_height && $largest_height > 1) { $last_good = $i; } } - if ($last_good==$current['height']-1&&$last_good%3==2) { + if ($last_good==$current['height']-1) { $block->pop(1); } // if last 10 blocks are good, verify all the blocks @@ -510,7 +510,7 @@ if ($current['height'] < $largest_height && $largest_height > 1) { } // check if the block mining data is correct for ($i = $last_good + 1; $i <= $largest_height; $i++) { - if (($i-1)%3==2) { + if (($i-1)%3==2&&$cblock[$i - 1]['height']<80460) { continue; } if (!$block->mine(