浏览代码

再探。

skyffire 1 年之前
父节点
当前提交
3013d8b198
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      standard/src/gate_swap.rs

+ 2 - 2
standard/src/gate_swap.rs

@@ -550,10 +550,10 @@ impl Platform for GateSwap {
             let cid = order_command.limits_open[item].get(3).unwrap().clone();
 
             //  order_name: [数量,方向,价格,c_id]
-            info!("{}", ts.to_string());
-            TraceStack::show_delay(&ts.ins);
             let mut self_clone = self.clone();
             spawn(async move {
+                info!("{}", ts.to_string());
+                TraceStack::show_delay(&ts.ins);
                 let result = self_clone.take_order(&cid, &side, price, amount).await;
                 match result {
                     Ok(mut result) => {