diff --git a/utils/global-state-update-gen/src/generic/state_tracker.rs b/utils/global-state-update-gen/src/generic/state_tracker.rs index 79f13d0a5d..72a353eb07 100644 --- a/utils/global-state-update-gen/src/generic/state_tracker.rs +++ b/utils/global-state-update-gen/src/generic/state_tracker.rs @@ -329,7 +329,7 @@ impl StateTracker { 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 } @@ -337,7 +337,7 @@ impl StateTracker { 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 }