JiahengHe hace 1 año
padre
commit
abb08fa004
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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