Skip to content

Commit

Permalink
mod capture list
Browse files Browse the repository at this point in the history
  • Loading branch information
lupin012 committed Sep 20, 2024
1 parent fb9689c commit 8a9aaee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions silkworm/rpc/commands/eth_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2038,8 +2038,8 @@ Task<void> EthereumRpcApi::handle_fee_history(const nlohmann::json& request, nlo
rpc::fee_history::BlockProvider block_provider = [this, &chain_storage](BlockNum block_number) {
return core::read_block_by_number(*block_cache_, *chain_storage, block_number);
};
rpc::fee_history::ReceiptsProvider receipts_provider = [&tx, &chain_storage, worker = worker_](const BlockWithHash& block_with_hash) {
return core::get_receipts(*tx, block_with_hash, *chain_storage, worker);
rpc::fee_history::ReceiptsProvider receipts_provider = [&tx, &chain_storage, this](const BlockWithHash& block_with_hash) {
return core::get_receipts(*tx, block_with_hash, *chain_storage, this->workers_);
};

rpc::fee_history::LatestBlockProvider latest_block_provider = [&tx]() {
Expand Down

0 comments on commit 8a9aaee

Please sign in to comment.