Skip to content

Commit

Permalink
fix total_active_stake after cherrypicking commits
Browse files Browse the repository at this point in the history
  • Loading branch information
brentstone committed Nov 11, 2022
1 parent 90fe7da commit e663020
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proof_of_stake/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1031,9 +1031,9 @@ pub trait PosBase {
0_u64,
|sum,
WeightedValidator {
voting_power,
bonded_stake,
address: _,
}| { sum + u64::from(*voting_power) },
}| { sum + *bonded_stake },
);

// Get set of signing validator addresses and the combined stake of
Expand Down

0 comments on commit e663020

Please sign in to comment.