fix: divide maxRPCPrice by 1 million
This commit is contained in:
parent
22a5c661bc
commit
01cd30b6f8
|
@ -140,6 +140,7 @@ SELECT AVG(rate) as average_rate FROM (
|
||||||
}
|
}
|
||||||
|
|
||||||
maxRPCPrice := p.config.Config().Core.Storage.Sia.MaxRPCSCPrice / averageRate
|
maxRPCPrice := p.config.Config().Core.Storage.Sia.MaxRPCSCPrice / averageRate
|
||||||
|
maxRPCPrice = maxRPCPrice / 1_000_000
|
||||||
|
|
||||||
p.logger.Debug("Setting max RPC price", zap.Float64("maxRPCPrice", maxRPCPrice))
|
p.logger.Debug("Setting max RPC price", zap.Float64("maxRPCPrice", maxRPCPrice))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue