Skip to content

Commit

Permalink
chore: remove outdated comment (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Apr 26, 2024
1 parent bbef8de commit 29e19df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/contract/src/call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ impl<T: Transport + Clone, P: Provider<T, N>, D: CallDecoder, N: Network> CallBu
}
}

/// Sets the `from` field in the transaction to the provided value. Defaults to [Address::ZERO].
/// Sets the `from` field in the transaction to the provided value.
pub fn from(mut self, from: Address) -> Self {
self.request.set_from(from);
self
Expand Down Expand Up @@ -585,8 +585,8 @@ mod tests {
}
}

#[allow(clippy::type_complexity)]
/// Creates a new call_builder to test field modifications, taken from [call_encoding]
#[allow(clippy::type_complexity)]
fn build_call_builder() -> CallBuilder<
Http<Client>,
AnvilProvider<RootProvider<Http<Client>>, Http<Client>>,
Expand Down

0 comments on commit 29e19df

Please sign in to comment.