Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk20 committed Aug 13, 2024
1 parent c271e7f commit 1eed1d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/global-state-update-gen/src/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ fn update_auction_state<T: StateReader>(

let bids = state.get_bids();
if slash {
// zero the unbonds for the removed validators independently of set_bid; set_bid will take care
// of zeroing the delegators if necessary
// zero the unbonds for the removed validators independently of set_bid; set_bid will take
// care of zeroing the delegators if necessary
for pub_key in &validators_diff.removed {
if let Some(bid) = bids.get(pub_key) {
state.remove_withdraws_and_unbonds_with_bonding_purse(bid.bonding_purse());
Expand Down

0 comments on commit 1eed1d7

Please sign in to comment.