fix: don't compute by usd the contract price
This commit is contained in:
parent
7d87ed6ad7
commit
37708c91f2
|
@ -139,7 +139,7 @@ SELECT AVG(rate) as average_rate FROM (
|
||||||
return err
|
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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue