fix: don't divide maxDownloadPrice by redundancy
This commit is contained in:
parent
6edf872664
commit
7f9887bdcc
|
@ -115,7 +115,6 @@ SELECT AVG(rate) as average_rate FROM (
|
||||||
}
|
}
|
||||||
|
|
||||||
maxDownloadPrice := p.config.Config().Core.Storage.Sia.MaxDownloadPrice / averageRate
|
maxDownloadPrice := p.config.Config().Core.Storage.Sia.MaxDownloadPrice / averageRate
|
||||||
maxDownloadPrice = maxDownloadPrice / redundancy.Redundancy()
|
|
||||||
|
|
||||||
gouge.MaxDownloadPrice, err = siacoinsFromFloat(maxDownloadPrice)
|
gouge.MaxDownloadPrice, err = siacoinsFromFloat(maxDownloadPrice)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue