File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
monad-eth-txpool/src/pool Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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 ( ) ,
You can’t perform that action at this time.
0 commit comments