Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
leonz789 committed Sep 6, 2024
1 parent ee543af commit 66ea003
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions cmd/feeder_tool.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ func reloadConfigToFetchNewTokens(remainningFeeders map[string]*feederInfo, newF
for length > 0 {
conf := feedertypes.ReadConfig(feedertypes.ConfigFile)
for tokenRemainning, fInfo := range remainningFeeders {
fmt.Printf("loading config for for token %s \r\n", fInfo.params.tokenName)
for _, token := range conf.Tokens {
if strings.EqualFold(token, tokenRemainning) {
delete(remainningFeeders, tokenRemainning)
Expand Down
2 changes: 1 addition & 1 deletion fetcher/chainlink/chainlink.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func Fetch(token string) (*types.PriceInfo, error) {
time.Sleep(10 * time.Second)
}
}()
log.Printf("token %s not found\n", token)
log.Printf("source_chainlink: token %s not found\n", token)
return nil, errors.New("token not found")
}

Expand Down
1 change: 0 additions & 1 deletion fetcher/chainlink/oracle_env_chainlink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ tokens:
AMPLUSDT: 0xe20CA8D7546932360e37E9D72c1a47334af57706_mainnet
WSTETHUSDT: 0xaaabb530434B0EeAAc9A42E25dbC6A22D7bE218E_sepolia
STETHUSDT: 0xCfE54B5cD566aB89272946F602D76Ea879CAb4a8_mainnet
ETHHUSDT: 0xCfE54B5cD566aB89272946F602D76Ea879CAb4a8_mainnet

0 comments on commit 66ea003

Please sign in to comment.