mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(txpool): add AlreadyImported variant (#2009)
This commit is contained in:
@ -346,6 +346,7 @@ impl From<PoolError> for RpcPoolError {
|
||||
PoolError::DiscardedOnInsert(_) => RpcPoolError::TxPoolOverflow,
|
||||
PoolError::InvalidTransaction(_, err) => err.into(),
|
||||
PoolError::Other(_, err) => RpcPoolError::Other(err),
|
||||
PoolError::AlreadyImported(_) => RpcPoolError::AlreadyKnown,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user