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

Miscellaneous payment manager refactoring. #426

Merged
merged 3 commits into from Nov 20, 2023

Conversation

jholdstock
Copy link
Member

Minor improvements made whilst investigating #425.

Note that this includes changing an assertion in the test testPaymentMgrDust

Use a recent coinbase amount from mainnet to test the payment manager.
0.1 is outside the valid range of pool fees, so use 0.05 instead.
Collecting all dust payments in an array and summing them at the end is
unnecessary, the total can just be acculated inside the loop.
@jholdstock jholdstock merged commit c2bf218 into decred:master Nov 20, 2023
2 checks passed
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.

None yet

2 participants