mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
Delete maxtime
This commit is contained in:
parent
fe60e01e79
commit
950bf9ebfe
@ -22,7 +22,6 @@ export function handleDelegation(event: DelegateBoost): void {
|
|||||||
const veDelegation = getveDelegation(event.address, _tokenId.toHex())
|
const veDelegation = getveDelegation(event.address, _tokenId.toHex())
|
||||||
const ts = event.block.timestamp.toI32()
|
const ts = event.block.timestamp.toI32()
|
||||||
|
|
||||||
const MAX_TIME = 4 * 365 * 86400 // max lock time
|
|
||||||
veDelegation.delegator = _delegator
|
veDelegation.delegator = _delegator
|
||||||
veDelegation.receiver = _receiver
|
veDelegation.receiver = _receiver
|
||||||
veDelegation.tokenId = _tokenId
|
veDelegation.tokenId = _tokenId
|
||||||
|
Loading…
Reference in New Issue
Block a user