Browse Source
The order was removed in TakeOrder
fix-bad-api-calls
Philipp Hoenisch
3 years ago
No known key found for this signature in database
GPG Key ID: E5F8E74C672BC666
1 changed files with
1 additions and
9 deletions
-
daemon/src/maker_cfd.rs
|
|
@ -266,15 +266,7 @@ impl Actor { |
|
|
|
self.cfd_feed_actor_inbox |
|
|
|
.send(load_all_cfds(&mut conn).await?)?; |
|
|
|
|
|
|
|
// 3. Remove current order
|
|
|
|
self.current_order_id = None; |
|
|
|
self.takers |
|
|
|
.do_send_async(maker_inc_connections::BroadcastOrder(None)) |
|
|
|
.await?; |
|
|
|
self.current_order_id = None; |
|
|
|
self.order_feed_sender.send(None)?; |
|
|
|
|
|
|
|
// 4. Start contract setup
|
|
|
|
// Start contract setup
|
|
|
|
tracing::info!("Starting contract setup"); |
|
|
|
|
|
|
|
// Kick-off the CFD protocol
|
|
|
|