use new bitcoin method wrapper for public API
This commit is contained in:
parent
bbe39228e1
commit
af21cafea5
@ -11,7 +11,7 @@ $aLastBlock = $block->getLast();
|
|||||||
$aShares = $statistics->getRoundShares();
|
$aShares = $statistics->getRoundShares();
|
||||||
|
|
||||||
// RPC Calls
|
// RPC Calls
|
||||||
$bitcoin->can_connect() === true ? $dNetworkHashrate = $bitcoin->query('getnetworkhashps') : $dNetworkHashrate = 0;
|
$bitcoin->can_connect() === true ? $dNetworkHashrate = $bitcoin->getnetworkhashps() : $dNetworkHashrate = 0;
|
||||||
|
|
||||||
echo json_encode(
|
echo json_encode(
|
||||||
array(
|
array(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user