Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update paymentProcessor.js #639

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mooleshacat
Copy link

@mooleshacat mooleshacat commented Oct 31, 2018

Fix for issue https://github.com/foxer666/node-open-mining-portal/issues/106

You will need to test this, as your code is different from BootNOMP and I had to adjust the validation procedure.

Fix for issuehttps://github.com/foxer666/node-open-mining-portal/issues/145

You will need to test this, as your code is different from BootNOMP and I had to adjust the validation procedure.
}, true);
}
if (!isValid) {
callback(null, workers, rounds);
Copy link
Author

@mooleshacat mooleshacat Oct 31, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only line I am unsure about. Do I just return; or do I callback and then return; to skip the worker?

If we are looping through only workers for one payout address, I believe we want both.
If we are looping through all workers for every payout address, I believe we want only "return;"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant