Skip to content

Commit

Permalink
make new public
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiekat committed Jan 10, 2023
1 parent a05785b commit f9b15d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethers-providers/src/transports/quorum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ pub enum WrappedParams {
}

impl WrappedParams {
fn new<T: Serialize>(params: T) -> Result<Self, serde_json::Error> {
pub fn new<T: Serialize>(params: T) -> Result<Self, serde_json::Error> {
Ok(if std::mem::size_of::<T>() == 0 {
// we don't want `()` to become `"null"`.
WrappedParams::Zst
Expand Down

0 comments on commit f9b15d7

Please sign in to comment.