diff --git a/CHANGELOG.md b/CHANGELOG.md index ba768abc..61aaa329 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,9 @@ ## ethers-core ### Unreleased + - +- Fix typo in `RwClient` docs for `write_client` method. - Graceful handling of WebSocket transport errors [#1889](https://github.com/gakonst/ethers-rs/issues/1889) [#1815](https://github.com/gakonst/ethers-rs/issues/1815) - `MiddlewareBuilder` trait to instantiate a `Provider` as `Middleware` layers. - An `Event` builder can be instantiated specifying the event filter type, without the need to instantiate a contract. diff --git a/ethers-providers/src/transports/rw.rs b/ethers-providers/src/transports/rw.rs index f54a96eb..58499d20 100644 --- a/ethers-providers/src/transports/rw.rs +++ b/ethers-providers/src/transports/rw.rs @@ -9,7 +9,7 @@ use serde::{de::DeserializeOwned, Serialize}; use thiserror::Error; -/// A client contains two clients. +/// A client containing two clients. /// /// One is used for _read_ operations /// One is used for _write_ operations that consume gas `["eth_sendTransaction", @@ -48,7 +48,7 @@ impl RwClient { &self.r } - /// Returns the client used for read operations + /// Returns the client used for write operations pub fn write_client(&self) -> &Write { &self.w }