Skip to content

Commit

Permalink
Update libp2p
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Sep 23, 2024
1 parent 2158aa4 commit fb6515b
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 fb6515b

Please sign in to comment.