Skip to content

Commit 6954138

Browse files
committed
nit
1 parent 8aa0598 commit 6954138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ingress-rpc/src/service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ where
178178

179179
let bundle_with_metadata = BundleWithMetadata::load(bundle.clone())
180180
.map_err(|e| EthApiError::InvalidParams(e.to_string()).into_rpc_err())?;
181+
let tx_hashes = bundle_with_metadata.txn_hashes();
181182

182183
let mut total_gas = 0u64;
183-
let tx_hashes = bundle_with_metadata.txn_hashes();
184184
for tx_data in &bundle.txs {
185185
let transaction = self.validate_tx(tx_data).await?;
186186
total_gas = total_gas.saturating_add(transaction.gas_limit());

0 commit comments

Comments
 (0)