From 67e02cb498bd878ae302a63bcaff35840dc07035 Mon Sep 17 00:00:00 2001 From: "admin@arionum.com" Date: Wed, 18 Sep 2019 05:23:25 +0300 Subject: [PATCH] peer blacklist fix --- sanity.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sanity.php b/sanity.php index 2a033bf..6bd291d 100755 --- a/sanity.php +++ b/sanity.php @@ -822,7 +822,7 @@ if ($_config['masternode']==true&&!empty($_config['masternode_public_key'])&&!em if ($f) { $res=json_decode($f, true); $res=$res['data']; - if ($res['height']<$current['height']-360) { + if ($res['height']<$current['height']-360) { $blacklist=1; } echo "Masternode Height: ".$res['height']."\n"; @@ -878,4 +878,4 @@ if ($_config['masternode']==true&&!empty($_config['masternode_public_key'])&&!em _log("Finishing sanity"); -@unlink(SANITY_LOCK_PATH); +@unlink(SANITY_LOCK_PATH); \ No newline at end of file