Revert "Having payments use only the payment address, and keep previous rounds"

This reverts commit 760f19ec36.
This commit is contained in:
joshuayabut 2016-12-19 04:11:55 +00:00
parent f00a52f8e0
commit 477af103a6
1 changed files with 2 additions and 2 deletions

View File

@ -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;
@ -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;
}