fix ui default

This commit is contained in:
Bel LaPointe
2023-10-27 16:47:31 -06:00
parent 35011bc005
commit d3af9e1113
3 changed files with 7 additions and 4 deletions

View File

@@ -38,7 +38,8 @@ func (prediction Prediction) predict(latest ledger.Balances, from time.Time, the
func (prediction Prediction) predictOne(balances ledger.Balances, elapsed time.Duration) ledger.Balances {
for i := range prediction {
balances = prediction[i](balances, elapsed)
next := prediction[i](balances, elapsed)
balances = next
}
return balances
}