Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouzo committed Nov 22, 2023
1 parent 99e2ebf commit d9c7f7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ain-grpc/src/call_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ pub struct CallStateOverride {
pub state_diff: Option<BTreeMap<H256, H256>>,
}

pub fn override_to_overlay(overide: BTreeMap<H160, CallStateOverride>) -> Overlay {
pub fn override_to_overlay(r#override: BTreeMap<H160, CallStateOverride>) -> Overlay {
let mut overlay = Overlay::default();

for (address, state_override) in overide {
for (address, state_override) in r#override {
let code = state_override.code.map(|b| b.into_vec());
let mut storage = state_override
.state
Expand Down

0 comments on commit d9c7f7c

Please sign in to comment.