Skip to content

Commit

Permalink
Fix compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk20 committed Aug 13, 2024
1 parent 79fd1aa commit 44ce6d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/global-state-update-gen/src/generic/state_tracker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,15 +329,15 @@ impl<T: StateReader> StateTracker<T> {
fn get_withdraws(&mut self) -> WithdrawPurses {
let mut result = self.reader.get_withdraws();
for (acc, purses) in &self.withdraws_cache {
result.insert(acc, purses.clone());
result.insert(*acc, purses.clone());
}
result
}

fn get_unbonds(&mut self) -> UnbondingPurses {
let mut result = self.reader.get_unbonds();
for (acc, purses) in &self.unbonds_cache {
result.insert(acc, purses.clone());
result.insert(*acc, purses.clone());
}
result
}
Expand Down

0 comments on commit 44ce6d0

Please sign in to comment.