Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JereSalo committed Jan 3, 2025
1 parent de1f497 commit d85bb46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/vm/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ cfg_if::cfg_if! {
account_updates
}

/// Executes all transactions in a block and returns their receipts.
/// Executes all transactions in a block and returns their receipts and account updates.
pub fn execute_block(
block: &Block,
store: &Store,
Expand Down Expand Up @@ -321,7 +321,7 @@ cfg_if::cfg_if! {
vm.transact()
}
} else if #[cfg(not(feature = "levm"))] {
/// Executes all transactions in a block and returns their receipts.
/// Executes all transactions in a block and returns their receipts and account updates.
pub fn execute_block(block: &Block, store: &Store) -> Result<(Vec<Receipt>, Vec<AccountUpdate>), EvmError> {
let mut state = evm_state(store.clone(), block.header.parent_hash);

Expand Down

0 comments on commit d85bb46

Please sign in to comment.