From d628ede1ee021f7e777432588c03d0865d78edc6 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 10 Mar 2024 14:48:09 -0400 Subject: [PATCH] fix: use maxStoragePrice --- renter/price_tracker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renter/price_tracker.go b/renter/price_tracker.go index cd80e84..7c64a7b 100644 --- a/renter/price_tracker.go +++ b/renter/price_tracker.go @@ -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 }