From 11a9f535ff5d2107a0de48dbcd64e8187db060cb Mon Sep 17 00:00:00 2001 From: marcdeb1 Date: Wed, 10 Oct 2018 16:09:33 +0200 Subject: [PATCH] minor fix --- 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 cbb89ff..5ac133c 100644 --- a/src/Controller/MainController.php +++ b/src/Controller/MainController.php @@ -504,8 +504,7 @@ class MainController extends AppController { $richList = $this->Addresses->find()->where(['Address <>' => 'bHW58d37s1hBjj3wPBkn5zpCX3F8ZW3uWf'])->order(['Balance' => 'DESC'])->limit(500)->toArray(); $priceRate = 0; - //$priceInfo = json_decode($this->redis->get(self::lbcPriceKey)); - $priceInfo->price = 0.05; + $priceInfo = json_decode($this->redis->get(self::lbcPriceKey)); if (isset($priceInfo->price)) { $priceRate = $priceInfo->price; }