fix: use maxStoragePrice

This commit is contained in:
Derrick Hammer 2024-03-10 14:48:09 -04:00
parent 9d17ae1065
commit d628ede1ee
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ SELECT AVG(rate) as average_rate FROM (
p.logger.Debug("Setting max storage price", zap.Float64("maxStoragePrice", maxStoragePrice))
gouge.MaxStoragePrice, err = siacoinsFromFloat(p.config.Config().Core.Storage.Sia.MaxStoragePrice / averageRate)
gouge.MaxStoragePrice, err = siacoinsFromFloat(maxStoragePrice)
if err != nil {
return err
}