correct start block reference,

lint
This commit is contained in:
Ulf Gebhardt 2022-02-26 03:42:49 +01:00
parent 7644bf1834
commit c35f9ad675
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ function calculateDecay(
} }
// decay started between start and end date; decay from decay start till end date // decay started between start and end date; decay from decay start till end date
else { else {
decay.start = DECAY_START_TIME decay.start = startBlock
decay.duration = (toMs - startBlockMs) / 1000 decay.duration = (toMs - startBlockMs) / 1000
} }

View File

@ -1,4 +1,4 @@
import Decimal from "decimal.js-light"; import Decimal from 'decimal.js-light'
export interface TransactionContext { export interface TransactionContext {
typeId: number typeId: number