From fefce2810e219fadd1d9229f993ac9e6fadac7e1 Mon Sep 17 00:00:00 2001 From: kanoi Date: Wed, 28 Sep 2016 10:19:09 +1000 Subject: [PATCH] php - scale up the rewards unit --- pool/page_shifts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pool/page_shifts.php b/pool/page_shifts.php index 5de1b39c..1c0ffbe6 100644 --- a/pool/page_shifts.php +++ b/pool/page_shifts.php @@ -81,7 +81,7 @@ function doshifts($data, $user) $pg .= ''.$ans['rewards:'.$i].''; $ppsr = (float)$ans['ppsrewarded:'.$i]; if ($ppsr > 0) - $ppsd = sprintf('%.5f', $ppsr); + $ppsd = sprintf('%.5f', $ppsr*1000.0); else $ppsd = '0'; $pg .= "$ppsd"; @@ -96,7 +96,7 @@ function doshifts($data, $user) $pg .= ''; } $pg .= "\n"; - $pg .= "* The Rewarded value unit is satoshis per 1diff share
"; + $pg .= "* The Rewarded value unit is satoshis per 1000diff share
"; return $pg; }