浏览代码

bitmart bug ,rest 部分接口没有 data ,新增默认返回空对象

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

+ 1 - 0
exchanges/src/bitmart_swap_rest.rs

@@ -9,6 +9,7 @@ use rust_decimal::prelude::FromPrimitive;
 use rust_decimal_macros::dec;
 use serde_json::{json, Value};
 use tracing::{info, trace};
+use std::borrow::Borrow;
 
 
 use crate::http_tool::RestTool;