Skip to content

Commit 9b657a5

Browse files
committed
fix lint
1 parent 2bdb83f commit 9b657a5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

crates/ingress-rpc/src/service.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,12 @@ fn validate_backrun_bundle_limits(
148148
}
149149
if txs_count > max_backrun_txs {
150150
return Err(format!(
151-
"Backrun bundle exceeds max transaction count: {} > {}",
152-
txs_count, max_backrun_txs
151+
"Backrun bundle exceeds max transaction count: {txs_count} > {max_backrun_txs}",
153152
));
154153
}
155154
if total_gas_limit > max_backrun_gas_limit {
156155
return Err(format!(
157-
"Backrun bundle exceeds max gas limit: {} > {}",
158-
total_gas_limit, max_backrun_gas_limit
156+
"Backrun bundle exceeds max gas limit: {total_gas_limit} > {max_backrun_gas_limit}",
159157
));
160158
}
161159
Ok(())

0 commit comments

Comments
 (0)