From 7f9887bdcc730d9437d50487feb31a587238c11b Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 10 Mar 2024 17:32:37 -0400 Subject: [PATCH] fix: don't divide maxDownloadPrice by redundancy --- renter/price_tracker.go | 1 - 1 file changed, 1 deletion(-) diff --git a/renter/price_tracker.go b/renter/price_tracker.go index a1f6658..15e4846 100644 --- a/renter/price_tracker.go +++ b/renter/price_tracker.go @@ -115,7 +115,6 @@ SELECT AVG(rate) as average_rate FROM ( } maxDownloadPrice := p.config.Config().Core.Storage.Sia.MaxDownloadPrice / averageRate - maxDownloadPrice = maxDownloadPrice / redundancy.Redundancy() gouge.MaxDownloadPrice, err = siacoinsFromFloat(maxDownloadPrice) if err != nil {