diff --git a/crates/rpc/rpc-types/src/eth/error.rs b/crates/rpc/rpc-types/src/eth/error.rs index e8d55b0874..e606ee8a8f 100644 --- a/crates/rpc/rpc-types/src/eth/error.rs +++ b/crates/rpc/rpc-types/src/eth/error.rs @@ -2,7 +2,7 @@ use jsonrpsee_types::ErrorObject; -/// A tait to convert an error to an RPC error. +/// A trait to convert an error to an RPC error. pub trait ToRpcError: std::error::Error + Send + Sync + 'static { /// Converts the error to a JSON-RPC error object. fn to_rpc_error(&self) -> ErrorObject<'static>;