Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/database/src/states/bundle_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ impl BundleState {
let mut accounts = Vec::with_capacity(state_len);
let mut storage = Vec::with_capacity(state_len);

for (address, account) in self.state.iter() {
for (address, account) in &self.state {
// Append account info if it is changed.
let was_destroyed = account.was_destroyed();
if is_value_known.is_not_known() || account.is_info_changed() {
Expand Down
2 changes: 1 addition & 1 deletion crates/interpreter/src/interpreter/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl Stack {
return [U256::ZERO; N];
}
let mut result = [U256::ZERO; N];
for v in result.iter_mut() {
for v in &mut result {
*v = self.data.pop().unwrap_unchecked();
}
result
Expand Down
Loading