diff options
Diffstat (limited to 'p2p/README.md')
-rw-r--r-- | p2p/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/README.md b/p2p/README.md index 8a8bc19..098cc26 100644 --- a/p2p/README.md +++ b/p2p/README.md @@ -90,7 +90,7 @@ impl NewProtocol { #[async_trait] impl Protocol for NewProtocol { - async fn start(self: Arc<Self>, ex: Arc<Executor<'_>>) -> Result<(), P2pError> { + async fn start(self: Arc<Self>) -> Result<(), P2pError> { let listener = self.peer.register_listener::<Self>().await; loop { let event = listener.recv().await.unwrap(); |