浏览代码

bitmart bug ,获取api_memo 解析

hl 1 年之前
父节点
当前提交
75742b6a61
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      exchanges/src/bitmart_swap_rest.rs

+ 1 - 1
exchanges/src/bitmart_swap_rest.rs

@@ -241,7 +241,7 @@ impl BitMartSwapRest {
         if self.login_param.contains_key("secret_key") {
             secret_key = self.login_param.get("secret_key").unwrap().to_string();
         }
-        if self.login_param.contains_key("secret_key") {
+        if self.login_param.contains_key("api_memo") {
             api_memo = self.login_param.get("api_memo").unwrap().to_string();
         }
         let mut is_login_param = true;