Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
Revert "Having payments use only the payment address, and keep previo…
Browse files Browse the repository at this point in the history
…us rounds"

This reverts commit 760f19e.
  • Loading branch information
jmprcx committed Dec 19, 2016
1 parent f00a52f commit 477af10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/paymentProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ function SetupForPool(logger, poolOptions, setupFinished){
return;
}

daemon.cmd('sendmany', [addressAccount, addressAmounts], function (result) {
daemon.cmd('sendmany', [addressAccount || '', addressAmounts], function (result) {
//Check if payments failed because wallet doesn't have enough coins to pay for tx fees
if (result.error && result.error.code === -6) {
var higherPercent = withholdPercent + 0.01;
Expand Down Expand Up @@ -588,7 +588,7 @@ function SetupForPool(logger, poolOptions, setupFinished){
return;
case 'generate':
movePendingCommands.push(['smove', coin + ':blocksPending', coin + ':blocksConfirmed', r.serialized]);
//roundsToDelete.push(coin + ':shares:round' + r.height);
roundsToDelete.push(coin + ':shares:round' + r.height);
return;
}

Expand Down

0 comments on commit 477af10

Please sign in to comment.