fix jackpot

This commit is contained in:
Max Alekseenko 2020-04-15 14:21:49 +03:00
parent 926dcc82fb
commit 9cfd421eb6
1 changed files with 2 additions and 2 deletions

View File

@ -57,6 +57,6 @@ export function handleRewarded(event: Rewarded): void {
round.prizes = prizes;
round.roundCloser = event.params.executor;
round.roundCloserReward = event.params.executorReward;
round.jackpot = null;
round.save();
round.jackpot = event.params.roundId.toString();
round.save();
}