Browse Source

少个括号

JiahengHe 1 year ago
parent
commit
abb08fa004
1 changed files with 2 additions and 1 deletions
  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