Skip to content

Commit

Permalink
style: fix P16 ++i leftovers (#2499)
Browse files Browse the repository at this point in the history
  • Loading branch information
battlmonstr authored Nov 11, 2024
1 parent a38f626 commit 3984398
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion silkworm/rpc/core/evm_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ ExecutionResult EVMExecutor::call_with_receipt(
receipt.bloom = logs_bloom(logs);
receipt.gas_used = txn.gas_limit - exec_result.gas_left;
receipt.type = static_cast<uint8_t>(txn.type);
for (size_t j{0}; j < logs.size(); j++) {
for (size_t j = 0; j < logs.size(); ++j) {
Log rpc_log;
rpc_log.address = logs[j].address;
rpc_log.data = logs[j].data;
Expand Down
2 changes: 1 addition & 1 deletion silkworm/rpc/core/receipts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Task<std::optional<Receipts>> generate_receipts(db::kv::api::Transaction& tx, co
Receipts rpc_receipts;
uint64_t cumulative_gas_used{0};

for (size_t index = 0; index < transactions.size(); index++) {
for (size_t index = 0; index < transactions.size(); ++index) {
Receipt receipt;

const silkworm::Transaction& transaction{block.transactions[index]};
Expand Down

0 comments on commit 3984398

Please sign in to comment.