浏览代码

coinex 撤单失败异常信息打印

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

+ 2 - 2
standard/src/coinex_swap.rs

@@ -344,7 +344,7 @@ impl Platform for CoinexSwap {
         }
 
         if res_data.code == 200 {
-            // info!("order_detail {}", res_data.data);
+            info!("order_detail {}", res_data.data);
             if res_data.data.is_array() {
                 let res_data_json = res_data.data.as_array().unwrap();
                 if res_data_json.len() == 0 { // 已取消或已成交
@@ -642,7 +642,7 @@ impl Platform for CoinexSwap {
                         // self_clone.order_sender.send(order).await.unwrap();
                     }
                     Err(error) => {
-                        // info!("撤单失败:{:?}", error.to_string());
+                        info!("撤单失败:{:?}", error.to_string());
                         // 取消失败去查订单。
                         let query_rst = self_clone.get_order_detail(&order_id, &custom_id).await;
                         match query_rst {