Update pps_payout.php
This commit is contained in:
parent
d89c1f43c8
commit
174bfdc0cf
@ -44,7 +44,7 @@ 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);
|
||||
// $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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user