diff --git a/daemon/src/maker_inc_connections.rs b/daemon/src/maker_inc_connections.rs index 334334c..3cbf5a2 100644 --- a/daemon/src/maker_inc_connections.rs +++ b/daemon/src/maker_inc_connections.rs @@ -50,16 +50,16 @@ impl Message for NewTakerOnline { pub struct Actor { write_connections: HashMap, - cfd_maker_actor_address: Address, + cfd_actor: Address, } impl xtra::Actor for Actor {} impl Actor { - pub fn new(cfd_maker_actor_address: Address) -> Self { + pub fn new(cfd_actor: Address) -> Self { Self { write_connections: HashMap::::new(), - cfd_maker_actor_address, + cfd_actor, } } @@ -102,7 +102,7 @@ impl Actor { } async fn handle_new_taker_online(&mut self, msg: NewTakerOnline) -> Result<()> { - self.cfd_maker_actor_address + self.cfd_actor .do_send_async(maker_cfd_actor::NewTakerOnline { id: msg.taker_id }) .await?;