From df009fba0b0ec506a525dc30ab0202afc15aedfe Mon Sep 17 00:00:00 2001 From: sergerad Date: Wed, 15 Jan 2025 19:54:53 +1300 Subject: [PATCH] fmt --- crates/executor/src/executor/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/executor/src/executor/mod.rs b/crates/executor/src/executor/mod.rs index 84bc4655e..be25a8353 100644 --- a/crates/executor/src/executor/mod.rs +++ b/crates/executor/src/executor/mod.rs @@ -172,8 +172,8 @@ where // The sum of the transaction’s gas limit, Tg, and the gas utilized in this block prior, // must be no greater than the block’s gasLimit. let block_available_gas = (gas_limit - cumulative_gas_used) as u128; - if (transaction.gas_limit() as u128) > block_available_gas - && (is_regolith || !transaction.is_system_transaction()) + if (transaction.gas_limit() as u128) > block_available_gas && + (is_regolith || !transaction.is_system_transaction()) { return Err(ExecutorError::BlockGasLimitExceeded); }