Fix PHP notice with 0 difficulty

This commit is contained in:
Sebastian Grewe 2013-09-25 11:39:56 +02:00
parent 47c9bda3d2
commit 928385c00c

View File

@ -17,7 +17,7 @@ if ($bitcoin->can_connect() === true) {
$dDifficulty = $bitcoin->getdifficulty();
$dNetworkHashrate = $bitcoin->getnetworkhashps();
} else {
$dDifficulty = 0;
$dDifficulty = 1;
$dNetworkHashrate = 0;
}