Skip to content

Commit

Permalink
chore(node): cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
drcpu-github committed Jan 23, 2025
1 parent 0130295 commit 55b4eec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions node/src/actors/chain_manager/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1474,11 +1474,7 @@ impl Handler<QueryStakePowers> for ChainManager {
let mut powers = HashMap::new();
let current_epoch = self.current_epoch.unwrap();
for capability in msg.capabilities {
for (key, power) in self
.chain_state
.stakes
.by_rank(capability, current_epoch)
{
for (key, power) in self.chain_state.stakes.by_rank(capability, current_epoch) {
powers.entry(key).or_insert(vec![]).push(power);
}
}
Expand Down

0 comments on commit 55b4eec

Please sign in to comment.