Skip to content

Commit

Permalink
stake-contract: cosmetic improvement in stakes
Browse files Browse the repository at this point in the history
  • Loading branch information
miloszm committed Feb 23, 2024
1 parent dc75c8f commit 4ca2414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/stake/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ impl StakeState {

/// Feeds the host with the stakes.
pub fn stakes(&self) {
for (_k, (stake_data, pk)) in self.stakes.iter() {
for (stake_data, pk) in self.stakes.values() {
rusk_abi::feed((*pk, stake_data.clone()));
}
}
Expand Down

0 comments on commit 4ca2414

Please sign in to comment.