do not round in decay model as it is used in utils on creation

This commit is contained in:
Moriz Wahl 2022-04-01 14:08:55 +02:00
parent a32e0a9d43
commit ff04cf0cb5

View File

@ -11,7 +11,7 @@ export class Decay {
duration: number | null,
) {
this.balance = balance
this.decay = decay.toDecimalPlaces(2, Decimal.ROUND_FLOOR)
this.decay = decay
this.start = start
this.end = end
this.duration = duration