diff --git a/mine.php b/mine.php index 288368f..8d3e13f 100755 --- a/mine.php +++ b/mine.php @@ -35,7 +35,7 @@ if($_config['testnet']==false&&!in_array($ip,$_config['allowed_hosts'])) api_err if($q=="info"){ $diff=$block->difficulty(); $current=$block->current(); - api_echo(array("difficulty"=>$diff, "block"=>$current['id'])); + api_echo(array("difficulty"=>$diff, "block"=>$current['id'], "height"=>$current['height'])); exit; } elseif($q=="submitNonce"){ if($_config['sanity_sync']==1) api_err("sanity-sync");