removed extra array definition in utxosupply

This commit is contained in:
Akinwale Ariwodola 2017-10-13 05:40:43 +00:00
parent c509ce9585
commit 24d9f2fb08

View file

@ -883,8 +883,7 @@ class MainController extends AppController {
$circulating = $txoutsetinfo->total_amount - $reservedtotal; $circulating = $txoutsetinfo->total_amount - $reservedtotal;
return $this->_jsonResponse(['success' => true, ['utxosupply' => ['total' => $txoutsetinfo->total_amount, 'circulating' => $circulating]]]); return $this->_jsonResponse(['success' => true, 'utxosupply' => ['total' => $txoutsetinfo->total_amount, 'circulating' => $circulating]]);
} }
private static function curl_json_post($url, $data, $headers = []) { private static function curl_json_post($url, $data, $headers = []) {