From 0ae4a26d19f700e0248ce2edbb70b873e99a4b1d Mon Sep 17 00:00:00 2001 From: Daniel Karzel Date: Wed, 27 Oct 2021 16:03:39 +1100 Subject: [PATCH] Minor rename to align `Maker` and `Taker` naming --- daemon/tests/happy_path.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/daemon/tests/happy_path.rs b/daemon/tests/happy_path.rs index c785a22..a68002c 100644 --- a/daemon/tests/happy_path.rs +++ b/daemon/tests/happy_path.rs @@ -157,8 +157,8 @@ struct Maker { xtra::Address>, order_feed: watch::Receiver>, #[allow(dead_code)] // we need to keep the xtra::Address for refcounting - inc_conn_addr: xtra::Address, - address: SocketAddr, + inc_conn_actor_addr: xtra::Address, + listen_addr: SocketAddr, } impl Maker { @@ -202,8 +202,8 @@ impl Maker { Self { cfd_actor_addr: maker.cfd_actor_addr, order_feed: maker.order_feed_receiver, - inc_conn_addr: maker.inc_conn_addr, - address, + inc_conn_actor_addr: maker.inc_conn_addr, + listen_addr: address, } } @@ -254,7 +254,7 @@ async fn start_both() -> (Maker, Taker) { .unwrap(); let maker = Maker::start(oracle_pk).await; - let taker = Taker::start(oracle_pk, maker.address).await; + let taker = Taker::start(oracle_pk, maker.listen_addr).await; (maker, taker) }