Skip to content

Commit

Permalink
fixed user stakeCount init
Browse files Browse the repository at this point in the history
  • Loading branch information
coffee-converter committed Dec 16, 2020
1 parent afc8917 commit 50a1761
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ export function createUser(id: string): User | null {
user.reservationCount = BigInt.fromI32(0)
user.reservationDayCount = BigInt.fromI32(0)
user.referralCount = BigInt.fromI32(0)
user.stakeCount = BigInt.fromI32(0)
return user
}

0 comments on commit 50a1761

Please sign in to comment.