mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
net: Create datastore in P2p::new()
This commit is contained in:
@@ -99,7 +99,7 @@ impl Dchat {
|
||||
// ANCHOR: main
|
||||
async_daemonize!(realmain);
|
||||
async fn realmain(args: Args, ex: Arc<smol::Executor<'static>>) -> Result<()> {
|
||||
let p2p = net::P2p::new(args.net.into(), ex.clone()).await;
|
||||
let p2p = net::P2p::new(args.net.into(), ex.clone()).await?;
|
||||
|
||||
// ANCHOR: dnet
|
||||
info!("Starting dnet subs task");
|
||||
|
||||
Reference in New Issue
Block a user