Fix PHP notice with 0 difficulty
This commit is contained in:
parent
47c9bda3d2
commit
928385c00c
@ -17,7 +17,7 @@ if ($bitcoin->can_connect() === true) {
|
||||
$dDifficulty = $bitcoin->getdifficulty();
|
||||
$dNetworkHashrate = $bitcoin->getnetworkhashps();
|
||||
} else {
|
||||
$dDifficulty = 0;
|
||||
$dDifficulty = 1;
|
||||
$dNetworkHashrate = 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user