From 128050f508d8c56af63e0cfc888ec04a854036b3 Mon Sep 17 00:00:00 2001 From: obigal Date: Wed, 3 Jul 2013 09:10:48 -0400 Subject: [PATCH] Update pps_payout.php --- cronjobs/pps_payout.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cronjobs/pps_payout.php b/cronjobs/pps_payout.php index fc66ecff..bf42be64 100755 --- a/cronjobs/pps_payout.php +++ b/cronjobs/pps_payout.php @@ -43,6 +43,8 @@ if ( $bitcoin->can_connect() === true ){ } // Value per share calculation +// We need to use this instead when running VARDIFF +// $pps_value = number_format(round(1/(65536 * $dDifficulty) * $config['reward']), 12) ,12); if ($config['reward_type'] != 'block') { $pps_value = number_format(round($config['reward'] / (pow(2,32) * $dDifficulty) * pow(2, $config['difficulty']), 12) ,12); } else {