peer blacklist fix
This commit is contained in:
@@ -822,7 +822,7 @@ if ($_config['masternode']==true&&!empty($_config['masternode_public_key'])&&!em
|
|||||||
if ($f) {
|
if ($f) {
|
||||||
$res=json_decode($f, true);
|
$res=json_decode($f, true);
|
||||||
$res=$res['data'];
|
$res=$res['data'];
|
||||||
if ($res['height']<$current['height']-360) {
|
if ($res['height']<$current['height']-360) {
|
||||||
$blacklist=1;
|
$blacklist=1;
|
||||||
}
|
}
|
||||||
echo "Masternode Height: ".$res['height']."\n";
|
echo "Masternode Height: ".$res['height']."\n";
|
||||||
@@ -878,4 +878,4 @@ if ($_config['masternode']==true&&!empty($_config['masternode_public_key'])&&!em
|
|||||||
|
|
||||||
_log("Finishing sanity");
|
_log("Finishing sanity");
|
||||||
|
|
||||||
@unlink(SANITY_LOCK_PATH);
|
@unlink(SANITY_LOCK_PATH);
|
||||||
Reference in New Issue
Block a user