From f9b15d736a375d183dfa340688bbdccb04c19ec1 Mon Sep 17 00:00:00 2001 From: Mattie Conover Date: Tue, 10 Jan 2023 15:33:01 -0800 Subject: [PATCH] make new public --- ethers-providers/src/transports/quorum.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-providers/src/transports/quorum.rs b/ethers-providers/src/transports/quorum.rs index 3e12f103e..ef96a0fd7 100644 --- a/ethers-providers/src/transports/quorum.rs +++ b/ethers-providers/src/transports/quorum.rs @@ -700,7 +700,7 @@ pub enum WrappedParams { } impl WrappedParams { - fn new(params: T) -> Result { + pub fn new(params: T) -> Result { Ok(if std::mem::size_of::() == 0 { // we don't want `()` to become `"null"`. WrappedParams::Zst