Skip to content

Commit b257dcd

Browse files
committed
First skip system sender
1 parent 098356b commit b257dcd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

monad-eth-txpool/src/pool/transaction.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,6 @@ impl ValidEthTransaction {
120120
match signed_authorizations
121121
.iter()
122122
.filter_map(|signed_authorization| {
123-
if signed_authorization.chain_id != 0
124-
&& signed_authorization.chain_id != chain_id
125-
{
126-
return None;
127-
}
128-
129123
let Ok(authority) = signed_authorization.recover_authority() else {
130124
return None;
131125
};
@@ -135,6 +129,12 @@ impl ValidEthTransaction {
135129
return Some(Err(EthTxPoolDropReason::InvalidSignature));
136130
}
137131

132+
if signed_authorization.chain_id != 0
133+
&& signed_authorization.chain_id != chain_id
134+
{
135+
return None;
136+
}
137+
138138
Some(Ok(ValidEthRecoveredAuthorization {
139139
authority,
140140
authorization: signed_authorization.inner().clone(),

0 commit comments

Comments
 (0)