Skip to content

Commit 26464e6

Browse files
committed
fix: missing activeAllocationCount decrease on cobbs douglas closed allo
1 parent 303dbb0 commit 26464e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mappings/staking.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,7 @@ export function handleAllocationClosedCobbDouglas(event: AllocationClosed1): voi
601601
deployment.save()
602602

603603
// update graph network
604+
graphNetwork.activeAllocationCount = graphNetwork.activeAllocationCount - 1
604605
graphNetwork.totalTokensAllocated = graphNetwork.totalTokensAllocated.minus(event.params.tokens)
605606
graphNetwork.save()
606607
}

0 commit comments

Comments
 (0)