Skip to content

Commit

Permalink
fix: remove blur from trading tokens for now
Browse files Browse the repository at this point in the history
  • Loading branch information
5lliot committed Oct 14, 2023
1 parent 037b5a0 commit 06f9a92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/trading.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var TRADING_SYMBOLS = []string{
"APE",
"CVX",
"FXS",
"BLUR",
// "BLUR",
"WETH",
"WBTC",
}
Expand Down
3 changes: 3 additions & 0 deletions pkg/priceFetcher/1inch_oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 06f9a92

Please sign in to comment.