JiahengHe vor 1 Jahr
Ursprung
Commit
abb08fa004
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      standard/src/htx_swap_handle.rs

+ 2 - 1
standard/src/htx_swap_handle.rs

@@ -110,7 +110,8 @@ 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