Skip to content

Commit 6f32282

Browse files
committed
chore: address clippy warnings
1 parent d4981dd commit 6f32282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/batcher/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,8 +1009,8 @@ impl Batcher {
10091009

10101010
// Validate that the max fee is at least higher or equal to the original fee + a [`min_bump_percentage`]
10111011
let original_max_fee = entry.nonced_verification_data.max_fee;
1012-
let min_bump = original_max_fee
1013-
+ (original_max_fee * U256::from(self.min_bump_percentage)) / U256::from(100);
1012+
let min_bump =
1013+
original_max_fee + (original_max_fee * self.min_bump_percentage) / U256::from(100);
10141014

10151015
if replacement_max_fee < min_bump {
10161016
std::mem::drop(batch_state_lock);

0 commit comments

Comments
 (0)