From ec8e4d6c6af05e73672cf88fefa5cbd4706b76bb Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Mon, 15 Nov 2021 18:12:04 +1100 Subject: [PATCH] Migrate `do_send_async` to `send` Handling the `Sync` message is quick because we internally use concurrency to fetch attestations and announcement. This will not actually block startup. --- daemon/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/src/lib.rs b/daemon/src/lib.rs index 716db47..d867865 100644 --- a/daemon/src/lib.rs +++ b/daemon/src/lib.rs @@ -170,7 +170,7 @@ where .spawn_with_handle(), ); - oracle_addr.do_send_async(oracle::Sync).await?; + oracle_addr.send(oracle::Sync).await?; tracing::debug!("Maker actor system ready");