Skip to content

Commit

Permalink
rename exchange rate mode
Browse files Browse the repository at this point in the history
  • Loading branch information
yiweichi committed Oct 8, 2024
1 parent 39a4a87 commit 19cca3c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions rollup/internal/config/relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ import (
)

const (
FIXED ExchangeRateMode = "fixed"
BINANCE_API ExchangeRateMode = "binance_api"
OKX_API ExchangeRateMode = "okx_api"
UNISWAP ExchangeRateMode = "uniswap"
FIXED ExchangeRateMode = "Fixed"
BINANCE_API ExchangeRateMode = "BinanceApi"
UNISWAP ExchangeRateMode = "Uniswap"
)

// ExchangeRateMode the mode to retrieve exchange rate
Expand All @@ -22,7 +21,6 @@ func (m *ExchangeRateMode) UnmarshalText(data []byte) error {
candidates := []string{
string(FIXED),
string(BINANCE_API),
// string(OKX_API), not supported yet
// string(UNISWAP), not supported yet
}
for _, i := range candidates {
Expand Down

0 comments on commit 19cca3c

Please sign in to comment.