From 928385c00c71ee85b08e33a385f557808fa392bb Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Wed, 25 Sep 2013 11:39:56 +0200 Subject: [PATCH] Fix PHP notice with 0 difficulty --- public/include/smarty_globals.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/include/smarty_globals.inc.php b/public/include/smarty_globals.inc.php index d068b494..396eb751 100644 --- a/public/include/smarty_globals.inc.php +++ b/public/include/smarty_globals.inc.php @@ -17,7 +17,7 @@ if ($bitcoin->can_connect() === true) { $dDifficulty = $bitcoin->getdifficulty(); $dNetworkHashrate = $bitcoin->getnetworkhashps(); } else { - $dDifficulty = 0; + $dDifficulty = 1; $dNetworkHashrate = 0; }