Skip to content

Commit

Permalink
remove unused state instance
Browse files Browse the repository at this point in the history
  • Loading branch information
canepat authored Oct 1, 2024
1 parent 1c94d67 commit ca943c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion silkworm/rpc/core/receipts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ Task<std::optional<Receipts>> generate_receipts(db::kv::api::Transaction& tx, co
const auto receipts = co_await async_task(workers.executor(), [&]() -> Receipts {
auto state = tx.create_state(current_executor, chain_storage, block_number - 1);

auto curr_state = tx.create_state(current_executor, chain_storage, block_number - 1);
EVMExecutor executor{chain_config, workers, state};

Receipts rpc_receipts;
Expand Down

0 comments on commit ca943c9

Please sign in to comment.