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"); }