fix: don't compute maxRPCPrice based on usd rate
This commit is contained in:
parent
01cd30b6f8
commit
9d17ae1065
|
@ -139,7 +139,7 @@ SELECT AVG(rate) as average_rate FROM (
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
maxRPCPrice := p.config.Config().Core.Storage.Sia.MaxRPCSCPrice / averageRate
|
maxRPCPrice := p.config.Config().Core.Storage.Sia.MaxRPCSCPrice
|
||||||
maxRPCPrice = maxRPCPrice / 1_000_000
|
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