From 98c63f9a3d00f19c13d2199c2ccc63377541ecad Mon Sep 17 00:00:00 2001 From: Rohit Narurkar Date: Sat, 31 Oct 2020 16:09:03 +0530 Subject: [PATCH] add Sync trait to middleware error (#94) --- ethers-providers/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-providers/src/lib.rs b/ethers-providers/src/lib.rs index 6172fd30..ff0a0937 100644 --- a/ethers-providers/src/lib.rs +++ b/ethers-providers/src/lib.rs @@ -144,7 +144,7 @@ pub trait FromErr { #[async_trait] pub trait Middleware: Sync + Send + Debug { - type Error: Send + Error + FromErr<::Error>; + type Error: Sync + Send + Error + FromErr<::Error>; type Provider: JsonRpcClient; type Inner: Middleware;