Skip to content

Commit

Permalink
Use MemoryAccount Default
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouzo committed Apr 12, 2023
1 parent 283e1f8 commit bc4eea4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/rust/crates/ain-evm/src/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,7 @@ impl EVMHandler {
.read()
.unwrap()
.get(&account)
.unwrap_or(&MemoryAccount {
nonce: Default::default(),
balance: Default::default(),
storage: Default::default(),
code: Default::default(),
})
.unwrap_or(&Default::default())
.to_owned()
}

Expand Down

0 comments on commit bc4eea4

Please sign in to comment.