We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9382302 commit c70ee49Copy full SHA for c70ee49
src/Stats/StatsResponse.php
@@ -65,7 +65,7 @@ public function __construct($json) {
65
if(array_key_exists('difficulty', $json))
66
$this->difficulty = $json['difficulty'];
67
if(array_key_exists('estimated_btc_sent', $json))
68
- $this->estimated_btc_sent = BTC_int2str(bcconv($json['estimated_btc_sent']));
+ $this->estimated_btc_sent = \Blockchain\Conversion\Conversion::BTC_int2str(\Blockchain\Conversion\Conversion::bcconv($json['estimated_btc_sent']));
69
if(array_key_exists('estimated_transaction_volume_usd', $json))
70
$this->estimated_transaction_volume_usd = $json['estimated_transaction_volume_usd'];
71
if(array_key_exists('hash_rate', $json))
0 commit comments