From 3a4aaf973c6085c17c0fc193b653a055bf80245e Mon Sep 17 00:00:00 2001 From: arionum <34399752+arionum@users.noreply.github.com> Date: Tue, 19 Jun 2018 22:09:36 +0300 Subject: [PATCH] Update sanity.php --- sanity.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sanity.php b/sanity.php index 9f15639..9ad151f 100755 --- a/sanity.php +++ b/sanity.php @@ -201,7 +201,7 @@ if ($total_peers == 0 && $_config['testnet'] == false) { // we can't connect to arionum.com if (count($f) < 2) { @unlink("tmp/sanity-lock"); - die("Could nto connect to arionum.com! Will try later!\n"); + die("Could not connect to arionum.com! Will try later!\n"); } foreach ($f as $peer) { //peer with all until max_peers, this will ask them to send a peering request to our peer.php where we add their peer to the db. @@ -236,7 +236,7 @@ if ($total_peers == 0 && $_config['testnet'] == false) { $r = $db->run("SELECT id,hostname FROM peers WHERE reserve=0 AND blacklisted exit + // something went wrong, could not add any peers -> exit @unlink("tmp/sanity-lock"); die("Could not peer to any peers! Please check internet connectivity!\n"); }