1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-27 23:14:21 +00:00

Merge pull request #470 from kanoi/master

miner.php format Best Share
This commit is contained in:
kanoi 2013-08-05 03:28:44 -07:00
commit 4b5f56e18d

View File

@ -962,6 +962,10 @@ function fmt($section, $name, $value, $when, $alldata)
if ($value != '')
$ret = number_format((float)$value, 2);
break;
case 'SUMMARY.Best Share':
if ($value != '')
$ret = number_format((float)$value);
break;
}
if ($section == 'NOTIFY' && substr($name, 0, 1) == '*' && $value != '0')