minor fix
This commit is contained in:
parent
fb52438586
commit
11a9f535ff
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue