Skip to content

Commit

Permalink
removing dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
EdHastingsCasperAssociation committed Jun 24, 2024
1 parent 679e927 commit 04c8b1d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions storage/src/system/auction/detail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -936,18 +936,6 @@ pub fn seigniorage_recipients(
}
}

// for delegator_bid in read_delegator_bids(provider, validator_public_key)? {
// if delegator_bid.staked_amount().is_zero() {
// continue;
// }
// let delegator_staked_amount = delegator_bid.staked_amount();
// delegators_weight = delegators_weight.saturating_add(delegator_staked_amount);
// delegators_stake.insert(
// delegator_bid.delegator_public_key().clone(),
// delegator_staked_amount,
// );
// }

// determine validator's personal stake (total weight - sum of delegators weight)
let validator_stake = validator_total_weight.saturating_sub(delegators_weight);
let seigniorage_recipient = SeigniorageRecipient::new(
Expand Down

0 comments on commit 04c8b1d

Please sign in to comment.