mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
example/net: remove p2p.run()
This commit is contained in:
@@ -32,7 +32,6 @@ async fn start(executor: Arc<Executor<'static>>, options: ProgramOptions) -> Res
|
||||
let p2p = net::P2p::new(options.network_settings, executor.clone()).await;
|
||||
|
||||
p2p.clone().start().await?;
|
||||
p2p.run().await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user