From 05e4d549dfaa648e3a73eb2c1c84ef10389d499b Mon Sep 17 00:00:00 2001 From: Alexander Burkut Date: Fri, 13 Dec 2024 12:16:01 +0300 Subject: [PATCH] 4.0.3-Cables.1 --- src/dex/cables/cables.ts | 3 +-- src/dex/cables/constants.ts | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/dex/cables/cables.ts b/src/dex/cables/cables.ts index 1bb1373b7..eb14b3f8e 100644 --- a/src/dex/cables/cables.ts +++ b/src/dex/cables/cables.ts @@ -30,7 +30,6 @@ import { CABLES_API_PRICES_POLLING_INTERVAL_MS, CABLES_API_TOKENS_POLLING_INTERVAL_MS, CABLES_API_URL, - CABLES_BLACKLIST_CACHE_KEY, CABLES_BLACKLIST_CACHES_TTL_S, CABLES_ERRORS_CACHE_KEY, CABLES_FIRM_QUOTE_TIMEOUT_MS, @@ -116,7 +115,7 @@ export class Cables extends SimpleExchange implements IDex { blacklistIntervalMs: CABLES_API_BLACKLIST_POLLING_INTERVAL_MS, blacklistCacheTTLSecs: CABLES_BLACKLIST_CACHES_TTL_S, - blacklistCacheKey: CABLES_BLACKLIST_CACHE_KEY, + blacklistCacheKey: 'blacklist', }, }, ); diff --git a/src/dex/cables/constants.ts b/src/dex/cables/constants.ts index 0b0aafa36..cd2ec378d 100644 --- a/src/dex/cables/constants.ts +++ b/src/dex/cables/constants.ts @@ -20,8 +20,6 @@ export const CABLES_API_TOKENS_POLLING_INTERVAL_MS = 30000; // 30 sec export const CABLES_FIRM_QUOTE_TIMEOUT_MS = 2000; -export const CABLES_BLACKLIST_CACHE_KEY = 'cablesBlacklistCacheKey'; - export const CABLES_RESTRICTED_CACHE_KEY = 'restricted'; export const CABLES_ERRORS_CACHE_KEY = 'errors';