Waste is a CAmount, which is an int64_t. This will overflow an int, so best_waste should also be a CAmount.
Fixes #34936
Waste is a CAmount, which is an int64_t. This will overflow an int, so
`best_waste` should also be a `CAmount`.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
See the guideline for information on the review process.
| Type | Reviewers |
|---|---|
| ACK | murchandamus, furszy |
If your review is incorrectly listed, please copy-paste <!–meta-tag:bot-skip–> into the comment that the bot should ignore.
2100000000000000 at most if in sats, right? Makes sense that this is larger than int max of 2,147,483,647.
achow101
DrahtBot
murchandamus
furszy
yancyribbens
Labels
Fuzzing
Needs Backport (31.x)
Milestone
31.0