From d785d070269658cc9572d0e10bcd1de2e6a1d3e8 Mon Sep 17 00:00:00 2001 From: Marc Szanto <11840265+Xemdo@users.noreply.github.com> Date: Tue, 4 Jul 2023 10:59:13 -0700 Subject: [PATCH] Fixed channel_points_won to be null on channel.prediction.progress and .lock --- internal/events/types/prediction/prediction.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/events/types/prediction/prediction.go b/internal/events/types/prediction/prediction.go index 4b8b7e1d..c83df9cf 100644 --- a/internal/events/types/prediction/prediction.go +++ b/internal/events/types/prediction/prediction.go @@ -72,7 +72,7 @@ func (e Event) GenerateEvent(params events.MockEventParameters) (events.MockEven ChannelPointsUsed: int(util.RandomInt(10*1000)) + 100, } sum += t.ChannelPointsUsed - if params.Trigger == "prediction-lock" || params.Trigger == "prediction-end" { + if params.Trigger == "prediction-end" { if i == 0 { t.ChannelPointsWon = intPointer(t.ChannelPointsUsed * 2) } else {