Browse Source

added token symbol to UpdateMethodTypeStatic log

develop
Mikelle 3 years ago
parent
commit
561f491d53
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      priceupdater/priceupdater.go

+ 2
- 1
priceupdater/priceupdater.go

@ -174,7 +174,8 @@ func (p *PriceUpdater) UpdatePrices(ctx context.Context) {
case UpdateMethodTypeStatic:
tokenPrice = token.StaticValue
if tokenPrice == float64(0) {
log.Warn("token price is set to 0. Probably StaticValue is not put in the configuration file")
log.Warn("token price is set to 0. Probably StaticValue is not put in the configuration file,",
"token", token.Symbol)
}
case UpdateMethodTypeIgnore:
continue

Loading…
Cancel
Save