We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aa0598 commit 6954138Copy full SHA for 6954138
crates/ingress-rpc/src/service.rs
@@ -178,9 +178,9 @@ where
178
179
let bundle_with_metadata = BundleWithMetadata::load(bundle.clone())
180
.map_err(|e| EthApiError::InvalidParams(e.to_string()).into_rpc_err())?;
181
+ let tx_hashes = bundle_with_metadata.txn_hashes();
182
183
let mut total_gas = 0u64;
- let tx_hashes = bundle_with_metadata.txn_hashes();
184
for tx_data in &bundle.txs {
185
let transaction = self.validate_tx(tx_data).await?;
186
total_gas = total_gas.saturating_add(transaction.gas_limit());
0 commit comments