Skip to content

Commit

Permalink
fix: re-enable default transport config (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
saibatizoku authored Aug 21, 2024
1 parent 3981c19 commit 175432d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion hermes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ ed25519-dalek = "2.1.1"
x509-cert = "0.2.5"
coset = "0.3.7"
libipld = "0.16.0"
rust-ipfs = "0.11.20"
rust-ipfs = "0.11.21"
rustyline-async = "0.4.2"
dirs = "5.0.1"
lipsum = "0.9.1"
1 change: 0 additions & 1 deletion hermes/bin/src/ipfs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ pub fn bootstrap(base_dir: &Path, default_bootstrap: bool) -> anyhow::Result<()>
IpfsBuilder::new()
.with_default()
.set_default_listener()
.disable_tls()
.set_disk_storage(ipfs_data_path.clone()),
default_bootstrap,
)?;
Expand Down
2 changes: 0 additions & 2 deletions hermes/crates/hermes-ipfs/examples/hermes-ipfs-cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ async fn main() -> anyhow::Result<()> {
let builder = IpfsBuilder::new()
.with_default()
.set_default_listener()
// TODO(saibatizoku): Re-Enable default transport config when libp2p Cert bug is fixed
.disable_tls()
.set_disk_storage(ipfs_data_path);
let hermes_node: HermesIpfs = builder.start().await?.into();
match args.command {
Expand Down
2 changes: 0 additions & 2 deletions hermes/crates/hermes-ipfs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ impl HermesIpfs {
let node: Ipfs = IpfsBuilder::new()
.with_default()
.set_default_listener()
// TODO(saibatizoku): Re-Enable default transport config when libp2p Cert bug is fixed
.disable_tls()
.start()
.await?;
Ok(HermesIpfs { node })
Expand Down

0 comments on commit 175432d

Please sign in to comment.