Skip to content

Commit

Permalink
save global on cm count update
Browse files Browse the repository at this point in the history
  • Loading branch information
coffee-converter committed Dec 18, 2020
1 parent 6a2e4d4 commit 9339b3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mapping-wiseToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export function handleGiveStatus (call: GiveStatusCall): void {

let global = getOrCreateGlobal()
global.cmStatusCount = global.cmStatusCount.plus(ONE)
global.save()
}

export function handleStakeStart (event: StakeStart): void {
Expand Down

0 comments on commit 9339b3c

Please sign in to comment.