mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-14 18:41:22 +00:00
protocols/gossipsub: Fix duplicate connection id (#2702)
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
# 0.38.1
|
||||
|
||||
- Fix duplicate connection id. See [PR 2702].
|
||||
|
||||
[PR 2702]: https://github.com/libp2p/rust-libp2p/pull/2702
|
||||
|
||||
# 0.38.0
|
||||
|
||||
- Update to `libp2p-core` `v0.33.0`.
|
||||
|
@ -3,7 +3,7 @@ name = "libp2p-gossipsub"
|
||||
edition = "2021"
|
||||
rust-version = "1.56.1"
|
||||
description = "Gossipsub protocol for libp2p"
|
||||
version = "0.38.0"
|
||||
version = "0.38.1"
|
||||
authors = ["Age Manning <Age@AgeManning.com>"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
|
@ -3104,7 +3104,7 @@ where
|
||||
.entry(*peer_id)
|
||||
.or_insert(PeerConnections {
|
||||
kind: PeerKind::Floodsub,
|
||||
connections: vec![*connection_id],
|
||||
connections: vec![],
|
||||
})
|
||||
.connections
|
||||
.push(*connection_id);
|
||||
|
Reference in New Issue
Block a user