forked from gridcoin-community/Gridcoin-Research
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing mrc fees to reward used for SplitCoinStakeOutput
In V13 testing with simultaneous mrcs and mandatory sidestakes, stakes were being rejected because the calculated total reward to the staker did not include mrc fees. This apparently has been an existing omission, but since sidestakes were not validated it went undetected. Now that mandatory sidestakes are validated in terms of both destination and amount, they were being rejected by the validator as being too low. Adding the mrc fees due to the staker to the staker's reward fixes the problem.
- Loading branch information
1 parent
4089e7d
commit 79cfae6
Showing
3 changed files
with
34 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters