remove outdated comments

This commit is contained in:
Ladd Hoffman 2024-04-10 14:57:04 -05:00
parent 989bc9846e
commit edd6d6d4d2
1 changed files with 0 additions and 2 deletions

View File

@ -219,7 +219,6 @@ contract ValidationPools is Reputation, Forum {
s = pool.stakes[i];
if (votePasses != s.inFavor) {
// Losing stake
// If this stake is from the minted fee, don't burn it
uint amount = (s.amount * pool.params.bindingPercent) / 100;
if (pool.params.redistributeLosingStakes) {
_update(s.sender, address(this), amount);
@ -250,7 +249,6 @@ contract ValidationPools is Reputation, Forum {
pool.params.redistributeLosingStakes && votePasses == s.inFavor
) {
// Winning stake
// If this stake is from the minted fee, always redistribute it to the winners
uint reward = (((totalRewards * s.amount) / amountFromWinners) *
pool.params.bindingPercent) / 100;
totalAllocated += reward;