Skip to content

Commit

Permalink
clippy + fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Evalir committed Jan 24, 2024
1 parent 7d88a8a commit 1a4789a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/cheatcodes/src/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ impl Cheatcode for dumpStateCall {
GenesisAccount {
nonce: Some(val.info.nonce),
balance: val.info.balance,
code: Some(val.info.code.as_ref().map(|o| o.original_bytes()))
.unwrap_or_default(),
code: val.info.code.as_ref().map(|o| o.original_bytes()),
storage: Some(
val.storage
.iter()
Expand Down

0 comments on commit 1a4789a

Please sign in to comment.