mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
added token symbol to UpdateMethodTypeStatic log
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user