mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
correct start block reference,
lint
This commit is contained in:
parent
7644bf1834
commit
c35f9ad675
@ -84,7 +84,7 @@ function calculateDecay(
|
||||
}
|
||||
// decay started between start and end date; decay from decay start till end date
|
||||
else {
|
||||
decay.start = DECAY_START_TIME
|
||||
decay.start = startBlock
|
||||
decay.duration = (toMs - startBlockMs) / 1000
|
||||
}
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import Decimal from "decimal.js-light";
|
||||
import Decimal from 'decimal.js-light'
|
||||
|
||||
export interface TransactionContext {
|
||||
typeId: number
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user