Skip to content

Commit 4ccecf6

Browse files
committed
clippy
1 parent 4bb5c91 commit 4ccecf6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • aggregation_mode/proof_aggregator/src/backend

aggregation_mode/proof_aggregator/src/backend/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,8 +593,7 @@ impl ProofAggregator {
593593
let suggested_priority_fee = provider
594594
.get_max_priority_fee_per_gas()
595595
.await
596-
.map_err(|e| AggregatedProofSubmissionError::GasPriceError(e.to_string()))?
597-
as u128;
596+
.map_err(|e| AggregatedProofSubmissionError::GasPriceError(e.to_string()))?;
598597

599598
// Calculate priority fee: suggested * (attempt + 1), capped at max
600599
let priority_fee_multiplier = (attempt + 1) as u128;

0 commit comments

Comments
 (0)