Revert "feat: 添加 OKX 交易所支持 (#1150)"

This reverts commit 174f59b907.
This commit is contained in:
tinkle-community
2025-12-03 11:31:50 +08:00
parent 62bce32d1f
commit 1dab5ef2ee
5 changed files with 9 additions and 1314 deletions

View File

@@ -46,7 +46,6 @@ func SanitizeExchangeConfigForLog(exchanges map[string]struct {
AsterPrivateKey string `json:"aster_private_key"`
LighterWalletAddr string `json:"lighter_wallet_addr"`
LighterPrivateKey string `json:"lighter_private_key"`
OKXPassphrase string `json:"okx_passphrase"`
}) map[string]interface{} {
safe := make(map[string]interface{})
for exchangeID, cfg := range exchanges {
@@ -68,9 +67,6 @@ func SanitizeExchangeConfigForLog(exchanges map[string]struct {
if cfg.LighterPrivateKey != "" {
safeExchange["lighter_private_key"] = MaskSensitiveString(cfg.LighterPrivateKey)
}
if cfg.OKXPassphrase != "" {
safeExchange["okx_passphrase"] = MaskSensitiveString(cfg.OKXPassphrase)
}
// 非敏感字段直接添加
if cfg.HyperliquidWalletAddr != "" {