From 50a17619416d51074e7e5c165db5fe9dfea4e1f7 Mon Sep 17 00:00:00 2001 From: coffee-converter Date: Wed, 16 Dec 2020 06:35:30 -0600 Subject: [PATCH] fixed user stakeCount init --- src/shared.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared.ts b/src/shared.ts index 5610294..943a4a6 100644 --- a/src/shared.ts +++ b/src/shared.ts @@ -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 } \ No newline at end of file