minor fix

This commit is contained in:
marcdeb1 2018-10-10 16:09:33 +02:00
parent fb52438586
commit 11a9f535ff

View file

@ -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;
}