fix ui default
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user