protocols/gossipsub/tests/smoke: Improve wait_for reporting (#1737)

This commit is contained in:
Max Inden
2020-09-09 09:54:02 +02:00
committed by GitHub
parent 244c5aa87a
commit 5a3e7f7e6e
2 changed files with 27 additions and 25 deletions

View File

@ -1454,7 +1454,7 @@ impl fmt::Debug for GossipsubRpc {
}
/// Event that can happen on the gossipsub behaviour.
#[derive(Debug)]
#[derive(Clone, Debug)]
pub enum GossipsubEvent {
/// A message has been received. This contains the PeerId that we received the message from,
/// the message id (used if the application layer needs to propagate the message) and the
@ -1534,4 +1534,3 @@ impl fmt::Debug for PublishConfig {
}
}
}