JiahengHe 1 vuosi sitten
vanhempi
commit
f1eabcff3d
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      standard/src/htx_swap_handle.rs

+ 1 - 2
standard/src/htx_swap_handle.rs

@@ -110,8 +110,7 @@ pub fn format_position_item(position: &serde_json::Value, ct_val: &Decimal) -> P
                 _ => {
                     panic!("htx_usdt_swap: 未知的持仓模式与持仓方向: {}, {}",
                            position["direction"].as_str().unwrap(), position["direction"].as_str().unwrap())
-                }
-            }
+              }
         }
         "single_side" => {
             PositionModeEnum::Both