From 5f1f967ec14dc89799135c4aad67fd6647f2c84e Mon Sep 17 00:00:00 2001 From: inconspicuous99 <83731823+inconspicuous99@users.noreply.github.com> Date: Tue, 19 Apr 2022 15:20:59 -0500 Subject: [PATCH] ContractDeployer: pub deployer can modify defaults (#1156) --- ethers-contract/src/factory.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethers-contract/src/factory.rs b/ethers-contract/src/factory.rs index 0df95da1..3a16b48c 100644 --- a/ethers-contract/src/factory.rs +++ b/ethers-contract/src/factory.rs @@ -22,8 +22,8 @@ use std::sync::Arc; #[derive(Debug, Clone)] #[must_use = "Deployer does nothing unless you `send` it"] pub struct ContractDeployer { - /// the actual deployer - deployer: Deployer, + /// the actual deployer, exposed for overriding the defaults + pub deployer: Deployer, /// marker for the `Contract` type to create afterwards /// /// this type will be used to construct it via `From::from(Contract)`