Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
elmato committed Feb 29, 2024
1 parent 0fe3520 commit 7d7e05d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions silkworm/core/execution/evm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,11 @@ evmc::Result EVM::call(const evmc_message& message) noexcept {
if(should_notify_tracers) {
// Explicitly notify registered tracers (if any)
for (auto tracer : tracers_) {
const ByteView code{}; // precompile code is empty.
tracer.get().on_execution_start(rev, message, {});
if(is_precompile) {
tracer.get().on_precompiled_run(res.raw(), message.gas, state_);
}
tracer.get().on_execution_end(res.raw(),state_);
tracer.get().on_execution_end(res.raw(), state_);
}
}
});
Expand Down

0 comments on commit 7d7e05d

Please sign in to comment.