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 Oct 31, 2022
1 parent 5473b79 commit 8e47dc9
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 @@ -1023,9 +1023,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 8e47dc9

Please sign in to comment.