Skip to content

Commit c70ee49

Browse files
committed
There was left one refactor.
1 parent 9382302 commit c70ee49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Stats/StatsResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function __construct($json) {
6565
if(array_key_exists('difficulty', $json))
6666
$this->difficulty = $json['difficulty'];
6767
if(array_key_exists('estimated_btc_sent', $json))
68-
$this->estimated_btc_sent = BTC_int2str(bcconv($json['estimated_btc_sent']));
68+
$this->estimated_btc_sent = \Blockchain\Conversion\Conversion::BTC_int2str(\Blockchain\Conversion\Conversion::bcconv($json['estimated_btc_sent']));
6969
if(array_key_exists('estimated_transaction_volume_usd', $json))
7070
$this->estimated_transaction_volume_usd = $json['estimated_transaction_volume_usd'];
7171
if(array_key_exists('hash_rate', $json))

0 commit comments

Comments
 (0)