mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 19:51:47 +00:00
update gossipsub to the latest upstream revision (#7130)
I feel it's preferable to do this explicitly by updating the revision on `Cargo.toml` rather than implicitly by letting `Cargo.lock` control the revision of the branch.
This commit is contained in:
@@ -18,7 +18,7 @@ ethereum_ssz = { workspace = true }
|
||||
ethereum_ssz_derive = { workspace = true }
|
||||
fnv = { workspace = true }
|
||||
futures = { workspace = true }
|
||||
gossipsub = { package = "libp2p-gossipsub", git = "https://github.com/sigp/rust-libp2p.git", branch = "sigp-gossipsub" }
|
||||
gossipsub = { workspace = true }
|
||||
hex = { workspace = true }
|
||||
itertools = { workspace = true }
|
||||
libp2p-mplex = "0.43"
|
||||
|
||||
@@ -996,7 +996,7 @@ impl<E: EthSpec> Network<E> {
|
||||
}
|
||||
}
|
||||
|
||||
if let PublishError::InsufficientPeers = e {
|
||||
if let PublishError::NoPeersSubscribedToTopic = e {
|
||||
self.gossip_cache.insert(topic, message_data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user