Update to move to shareMulti setting, rather than the hard-coded 2 value.
This commit is contained in:
parent
e5a0c2685d
commit
f618fba03a
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ function calculatePPLNSPayments(blockHeader) {
|
|||
amount: 0
|
||||
};
|
||||
}
|
||||
let amountToPay = Math.floor((shareData.shares / (blockDiff*2)) * rewardTotal);
|
||||
let amountToPay = Math.floor((shareData.shares / (blockDiff*global.config.pplns.shareMulti)) * rewardTotal);
|
||||
if (totalPaid + amountToPay > rewardTotal) {
|
||||
amountToPay = rewardTotal - totalPaid;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue