Ensuring amountFraction is set to zero after burnBoost
This commit is contained in:
parent
20e2f9a80a
commit
fcad0f71fb
|
@ -71,5 +71,6 @@ export function handleBurnBoost(event: BurnBoost): void {
|
||||||
|
|
||||||
// delete
|
// delete
|
||||||
const veDelegation = getveDelegation(_tokenId.toHex())
|
const veDelegation = getveDelegation(_tokenId.toHex())
|
||||||
|
veDelegation.amountFraction = BigInt.zero()
|
||||||
veDelegation.amount = BigInt.zero()
|
veDelegation.amount = BigInt.zero()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue