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

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
salman01zp committed Sep 26, 2023
1 parent 7b604f6 commit 7f216b3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
1 change: 0 additions & 1 deletion crates/lc-relay-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ authors = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
reqwest = { workspace = true, features = ["blocking", "json"] }
jsonrpsee = { workspace = true, features = ["ws-client"]}
anyhow = { workspace = true }
webb = { workspace = true}
tracing = { workspace = true }
Expand Down
18 changes: 0 additions & 18 deletions crates/lc-relay-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,6 @@ pub struct WebbRetryClient {
initial_backoff: u64,
}

// impl WebbRetryClient {
// pub fn new(inner: Client, timeout_retries: u32, initial_backoff: u64) -> Self {
// Self { inner, timeout_retries, initial_backoff }
// }
// /// Sets the number of retries after a connection times out
// ///
// /// **Note:** this will only be used for `request::Error::TimedOut`
// pub fn timeout_retries(mut self, timeout_retries: u32) -> Self {
// self.timeout_retries = timeout_retries;
// self
// }

// /// Sets the duration to wait initially before retrying
// pub fn initial_backoff(mut self, initial_backoff: u64) -> Self {
// self.initial_backoff = initial_backoff;
// self
// }
// }

impl WebbRetryClient {
pub async fn get(&self, url: &str) -> anyhow::Result<String> {
Expand Down

0 comments on commit 7f216b3

Please sign in to comment.