From 24d9f2fb08af7f5bfae3cd6753870a45e9dbd974 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Fri, 13 Oct 2017 05:40:43 +0000 Subject: [PATCH] removed extra array definition in utxosupply --- src/Controller/MainController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Controller/MainController.php b/src/Controller/MainController.php index a68e08a..dcdce2d 100644 --- a/src/Controller/MainController.php +++ b/src/Controller/MainController.php @@ -883,8 +883,7 @@ class MainController extends AppController { $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 = []) {