Commit e10449b7 authored by rlgy's avatar rlgy

时时彩获取高度

parent 048db0ae
...@@ -40,7 +40,7 @@ class LotteryController extends Controller ...@@ -40,7 +40,7 @@ class LotteryController extends Controller
} }
$lottery_current_result = $lottery_current_info['result']; $lottery_current_result = $lottery_current_info['result'];
//获取最新的区块高度 //获取最新的区块高度
$last_header = LotteryBusiness::getLastHeader(); $last_header = Chain33Business::getLastHeader();
if ($last_header['code'] != 0) { if ($last_header['code'] != 0) {
echo '获取区块高度失败: ' . $last_header['msg'].PHP_EOL; echo '获取区块高度失败: ' . $last_header['msg'].PHP_EOL;
sleep(2); sleep(2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment