From 06f9a9221d2c51400074a3b73923ad7ba3a09829 Mon Sep 17 00:00:00 2001 From: 5lliot Date: Sat, 14 Oct 2023 20:34:29 +0700 Subject: [PATCH] fix: remove blur from trading tokens for now --- core/trading.go | 2 +- pkg/priceFetcher/1inch_oracle.go | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/trading.go b/core/trading.go index 2ab5d202e..2369d7b50 100644 --- a/core/trading.go +++ b/core/trading.go @@ -10,7 +10,7 @@ var TRADING_SYMBOLS = []string{ "APE", "CVX", "FXS", - "BLUR", + // "BLUR", "WETH", "WBTC", } diff --git a/pkg/priceFetcher/1inch_oracle.go b/pkg/priceFetcher/1inch_oracle.go index e0ed49d53..40851b60f 100644 --- a/pkg/priceFetcher/1inch_oracle.go +++ b/pkg/priceFetcher/1inch_oracle.go @@ -74,6 +74,9 @@ func New1InchOracle(client core.ClientI, chainId int64, inchOracle common.Addres utils.SetJson([]byte(data), calc) // calc.symToAddr = core.GetSymToAddrByChainId(chainId) + // delete ETH as 0xee address can't be used for getting symbol in token_store.go + delete(calc.symToAddr.Tokens, "ETH") + // calc.inchOracle = inchOracle calc.client = client calc.setCrvCallLen()