Browse Source

Migrate `do_send_async` to `send`

We cleaned up our internal state already, hence we can bubble up
the error here.
pAndLAndPayout
Thomas Eizinger 3 years ago
parent
commit
ca36e0b8f4
No known key found for this signature in database GPG Key ID: 651AC83A6C6C8B96
  1. 4
      daemon/src/maker_cfd.rs

4
daemon/src/maker_cfd.rs

@ -533,11 +533,11 @@ where
append_cfd_state(&cfd, &mut conn, &self.cfd_feed_actor_inbox).await?; append_cfd_state(&cfd, &mut conn, &self.cfd_feed_actor_inbox).await?;
self.takers self.takers
.do_send_async(maker_inc_connections::TakerMessage { .send(maker_inc_connections::TakerMessage {
taker_id, taker_id,
command: TakerCommand::NotifyOrderRejected { id: cfd.order.id }, command: TakerCommand::NotifyOrderRejected { id: cfd.order.id },
}) })
.await?; .await??;
Ok(()) Ok(())
} }

Loading…
Cancel
Save