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 9, 2022
1 parent 774edb0 commit 155f983
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 155f983

Please sign in to comment.