mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
use core::error::Error (#11317)
This commit is contained in:
@ -61,8 +61,7 @@ pub enum InvalidTransactionError {
|
||||
SignerAccountHasBytecode,
|
||||
}
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
impl std::error::Error for InvalidTransactionError {}
|
||||
impl core::error::Error for InvalidTransactionError {}
|
||||
|
||||
/// Represents error variants that can happen when trying to convert a transaction to
|
||||
/// [`PooledTransactionsElement`](crate::PooledTransactionsElement)
|
||||
@ -87,5 +86,4 @@ pub enum TryFromRecoveredTransactionError {
|
||||
BlobSidecarMissing,
|
||||
}
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
impl std::error::Error for TryFromRecoveredTransactionError {}
|
||||
impl core::error::Error for TryFromRecoveredTransactionError {}
|
||||
|
||||
Reference in New Issue
Block a user