mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-11 00:08:13 -05:00
fix(transaction-pool): mark TransactionEvent::Invalid as final (#19782)
This commit is contained in:
@@ -83,7 +83,7 @@ impl TransactionEvent {
|
||||
/// Returns `true` if the event is final and no more events are expected for this transaction
|
||||
/// hash.
|
||||
pub const fn is_final(&self) -> bool {
|
||||
matches!(self, Self::Replaced(_) | Self::Mined(_) | Self::Discarded)
|
||||
matches!(self, Self::Replaced(_) | Self::Mined(_) | Self::Discarded | Self::Invalid)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user