mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
Fix
This commit is contained in:
parent
950bf9ebfe
commit
c0fe3cd6b4
@ -30,7 +30,7 @@ export function handleDelegation(event: DelegateBoost): void {
|
|||||||
BigInt.fromI32(18).toI32()
|
BigInt.fromI32(18).toI32()
|
||||||
)
|
)
|
||||||
veDelegation.lockedAmount = delegator.lockedAmount
|
veDelegation.lockedAmount = delegator.lockedAmount
|
||||||
veDelegation.timeLeft = delegator.unlockTime.minus(ts)
|
veDelegation.timeLeft = delegator.unlockTime.toI32().minus(ts)
|
||||||
veDelegation.cancelTime = _cancelTime
|
veDelegation.cancelTime = _cancelTime
|
||||||
veDelegation.expireTime = _expireTime
|
veDelegation.expireTime = _expireTime
|
||||||
veDelegation.save()
|
veDelegation.save()
|
||||||
|
Loading…
Reference in New Issue
Block a user