From f9f466ef079532c861e39cac8fcbdadf3788040d Mon Sep 17 00:00:00 2001 From: Nicolas Trippar Date: Thu, 17 Feb 2022 07:30:03 -0500 Subject: [PATCH] change visibility of the function request in Provider to public so one can implement Middleware's with custom call to the node (#919) --- ethers-providers/src/provider.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-providers/src/provider.rs b/ethers-providers/src/provider.rs index 13002168..02285a00 100644 --- a/ethers-providers/src/provider.rs +++ b/ethers-providers/src/provider.rs @@ -184,7 +184,7 @@ impl Provider

{ self } - async fn request(&self, method: &str, params: T) -> Result + pub async fn request(&self, method: &str, params: T) -> Result where T: Debug + Serialize + Send + Sync, R: Serialize + DeserializeOwned + Debug,