Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
expand SignerMiddleware::new comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Apr 10, 2022
1 parent 7823f47 commit 924acff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ethers-middleware/src/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ where
{
/// Creates a new client from the provider and signer.
/// Sets the address of this middleware to the address of the signer.
/// The chain_id of the signer will not
/// The chain_id of the signer will not be set to the chain id of the provider. if the signer
/// passed here is initialized with a different chain id, then the client may throw errors, or
/// methods like `sign_transaction` may error.
/// To automatically set the signer's chain id, see `new_with_provider_chain`.
///
/// [`Middleware`] ethers_providers::Middleware
/// [`Signer`] ethers_signers::Signer
Expand Down

0 comments on commit 924acff

Please sign in to comment.