fix: divide maxRPCPrice by 1 million

This commit is contained in:
Derrick Hammer 2024-03-10 14:38:59 -04:00
parent 22a5c661bc
commit 01cd30b6f8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ SELECT AVG(rate) as average_rate FROM (
}
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))