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 7115a0c commit 80e3084Copy full SHA for 80e3084
runtime/src/lib.rs
@@ -1402,7 +1402,7 @@ fn adjust_evm_priority_and_warn(
1402
let original_priority = valid_transaction.priority;
1403
valid_transaction.priority = EVM_TRANSACTION_BASE_PRIORITY;
1404
1405
- let has_priority_fee = priority_fee.map_or(false, |fee| !fee.is_zero());
+ let has_priority_fee = priority_fee.is_some_and(|fee| !fee.is_zero());
1406
if has_priority_fee {
1407
log::warn!(
1408
target: EVM_LOG_TARGET,
0 commit comments