Browse Source

代码修正

hl 1 year ago
parent
commit
ccddb30335
1 changed files with 2 additions and 2 deletions
  1. 2 2
      exchanges/src/binance_swap_ws.rs

+ 2 - 2
exchanges/src/binance_swap_ws.rs

@@ -28,8 +28,8 @@ pub enum BinanceSwapSubscribeType {
 #[derive(Clone)]
 #[allow(dead_code)]
 pub struct BinanceSwapLogin {
-    api_key: String,
-    api_secret: String,
+    pub api_key: String,
+    pub api_secret: String,
 }
 
 #[derive(Clone)]