use new bitcoin method wrapper for public API

This commit is contained in:
Sebastian Grewe 2013-09-17 09:39:37 +02:00
parent bbe39228e1
commit af21cafea5

View File

@ -11,7 +11,7 @@ $aLastBlock = $block->getLast();
$aShares = $statistics->getRoundShares();
// RPC Calls
$bitcoin->can_connect() === true ? $dNetworkHashrate = $bitcoin->query('getnetworkhashps') : $dNetworkHashrate = 0;
$bitcoin->can_connect() === true ? $dNetworkHashrate = $bitcoin->getnetworkhashps() : $dNetworkHashrate = 0;
echo json_encode(
array(