Skip to content

Commit 80e3084

Browse files
committed
cargo clippy
1 parent 7115a0c commit 80e3084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ fn adjust_evm_priority_and_warn(
14021402
let original_priority = valid_transaction.priority;
14031403
valid_transaction.priority = EVM_TRANSACTION_BASE_PRIORITY;
14041404

1405-
let has_priority_fee = priority_fee.map_or(false, |fee| !fee.is_zero());
1405+
let has_priority_fee = priority_fee.is_some_and(|fee| !fee.is_zero());
14061406
if has_priority_fee {
14071407
log::warn!(
14081408
target: EVM_LOG_TARGET,

0 commit comments

Comments
 (0)