Lbry addresses #35

Merged
marcdeb1 merged 4 commits from lbry-addresses into master 2018-10-19 17:00:51 +02:00
Showing only changes of commit 11a9f535ff - Show all commits

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