mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: unify recover fn result type (#13897)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -577,7 +577,7 @@ where
|
||||
|
||||
let pool_transactions = txs_signed
|
||||
.into_iter()
|
||||
.filter_map(|tx| tx.try_ecrecovered())
|
||||
.filter_map(|tx| tx.try_ecrecovered().ok())
|
||||
.filter_map(|tx| {
|
||||
// Filter out errors
|
||||
<P::Transaction as PoolTransaction>::try_from_consensus(tx).ok()
|
||||
|
||||
Reference in New Issue
Block a user