fix: don't divide maxDownloadPrice by redundancy

This commit is contained in:
Derrick Hammer 2024-03-10 17:32:37 -04:00
parent 6edf872664
commit 7f9887bdcc
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 1 deletions

View File

@ -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 {