diff --git a/renter/price_tracker.go b/renter/price_tracker.go index 44c3e73..1d334f6 100644 --- a/renter/price_tracker.go +++ b/renter/price_tracker.go @@ -139,7 +139,7 @@ SELECT AVG(rate) as average_rate FROM ( return err } - maxContractPrice, err := computeByRate(p.config.Config().Core.Storage.Sia.MaxContractSCPrice, averageRate, "max contract price") + maxContractPrice, err := newRat(p.config.Config().Core.Storage.Sia.MaxContractSCPrice, "max contract price") if err != nil { return err }