Skip to content

Commit

Permalink
chore: remove unused code var (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Mar 6, 2024
1 parent 7cdbe2e commit 8613909
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/tracing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -534,20 +534,6 @@ where
) -> CreateOutcome {
let outcome = self.gas_inspector.create_end(context, inputs, outcome);

// get the code of the created contract
let _code = outcome
.address
.and_then(|address| {
context
.journaled_state
.account(address)
.info
.code
.as_ref()
.map(|code| code.bytes()[..code.len()].to_vec())
})
.unwrap_or_default();

self.fill_trace_on_call_end(context, outcome.result.clone(), outcome.address);

outcome
Expand Down

0 comments on commit 8613909

Please sign in to comment.