Skip to content

Commit

Permalink
remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
chen4903 committed Oct 28, 2024
1 parent 108b0e7 commit 0b68aad
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/eth/endpoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,6 @@ where
Http<C>: Transport,
MevHttp<C>: Transport,
{
/// Adds a new transport to the [`Endpoints`] being built, with the given
/// signer used to build the header signature.
pub fn endpoint_with_bundle_signer(mut self, url: Url, bundle_signer: BundleSigner) -> Self {
self.endpoints
.add(MevHttp::new(url, self.base_transport.clone(), bundle_signer).boxed());

self
}

/// Adds a new transport to the [`Endpoints`] being built.
pub fn endpoint(mut self, url: Url) -> Self {
self.endpoints
Expand Down

0 comments on commit 0b68aad

Please sign in to comment.