Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvc94ch committed Sep 21, 2020
1 parent 93b5403 commit 629b2b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions client/network/src/discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,7 @@ mod tests {
to_discover[swarm_n].remove(&other);
},
DiscoveryOut::RandomKademliaStarted(_) => {},
DiscoveryOut::BootstrapComplete(_) => {},
e => {panic!("Unexpected event: {:?}", e)},
}
continue 'polling
Expand Down
2 changes: 1 addition & 1 deletion client/network/src/gossip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl<M> QueuedSender<M> {
protocol: ConsensusEngineId,
queue_size_limit: usize,
messages_encode: F
) -> (Self, impl Future<Output = ()> + Send + 'static)
) -> (Self, impl Future<Output = ()> + 'static)
where
M: Send + 'static,
B: BlockT + 'static,
Expand Down

0 comments on commit 629b2b3

Please sign in to comment.