This commit is contained in:
trizin 2023-05-04 14:04:45 +03:00 committed by GitHub
parent a21b03c495
commit fe60e01e79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export function handleDelegation(event: DelegateBoost): void {
BigInt.fromI32(18).toI32()
)
veDelegation.lockedAmount = delegator.lockedAmount
veDelegation.timeLeft = delegator.unlockTime - ts
veDelegation.timeLeft = delegator.unlockTime.minus(ts)
veDelegation.cancelTime = _cancelTime
veDelegation.expireTime = _expireTime
veDelegation.save()