Skip to content

Commit

Permalink
Merge pull request #3046 from autonomys/update-libp2p
Browse files Browse the repository at this point in the history
Update libp2p to 0.54.1
  • Loading branch information
nazar-pc authored Sep 23, 2024
2 parents 38e2e3d + fb6515b commit f085edb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/subspace-networking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ unsigned-varint = { version = "0.8.0", features = ["futures", "asynchronous_code
void = "1.0.2"

[dependencies.libp2p]
version = "0.54.0"
version = "0.54.1"
default-features = false
features = [
"autonat",
Expand Down
4 changes: 2 additions & 2 deletions crates/subspace-networking/src/constructor/transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ pub(super) fn build_transport(
let tcp_config = GenTcpConfig::default().nodelay(true);

CustomTransportWrapper::new(
TokioTcpTransport::new(tcp_config.clone()),
TokioTcpTransport::new(tcp_config),
allow_non_global_addresses_in_dht,
temporary_bans.clone(),
temporary_bans,
)
};

Expand Down

0 comments on commit f085edb

Please sign in to comment.