mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-28 08:37:59 -05:00
typo: fix typo in rpc (#9514)
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user