add Sync trait to middleware error (#94)
This commit is contained in:
parent
d67efc9190
commit
98c63f9a3d
|
@ -144,7 +144,7 @@ pub trait FromErr<T> {
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
pub trait Middleware: Sync + Send + Debug {
|
pub trait Middleware: Sync + Send + Debug {
|
||||||
type Error: Send + Error + FromErr<<Self::Inner as Middleware>::Error>;
|
type Error: Sync + Send + Error + FromErr<<Self::Inner as Middleware>::Error>;
|
||||||
type Provider: JsonRpcClient;
|
type Provider: JsonRpcClient;
|
||||||
type Inner: Middleware<Provider = Self::Provider>;
|
type Inner: Middleware<Provider = Self::Provider>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue