소스 검색

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;