php - always use 5min hash rate for pool top left

This commit is contained in:
kanoi 2014-10-04 23:16:39 +10:00
parent cfd5e4bd5c
commit 68dfd2ddbc

View File

@ -164,10 +164,10 @@ function pgtop($dotop, $user, $douser)
if (isset($info['p_hashrate5m']))
$phr = $info['p_hashrate5m'];
if (isset($info['p_elapsed'])
and isset($info['p_hashrate1hr'])
and $info['p_elapsed'] > 3600)
$phr = $info['p_hashrate1hr'];
// if (isset($info['p_elapsed'])
// and isset($info['p_hashrate1hr'])
// and $info['p_elapsed'] > 3600)
// $phr = $info['p_hashrate1hr'];
if ($phr == '?')
$phr = '?THs';