Skip to content

Commit

Permalink
Merge pull request #1074 from gobitfly/BEDS-397/gas_limit_alerts_2
Browse files Browse the repository at this point in the history
fix(notifications): track history of gas limit alerts
  • Loading branch information
peterbitfly authored Nov 4, 2024
2 parents 1e36ad1 + 240ae58 commit 7acad3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/pkg/notification/queuing.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func ExportNotificationHistory(epoch uint64, notificationsByUserID types.Notific
log.Error(err, "error inserting into client notifications history", 0)
}
}
} else if eventName == types.NetworkLivenessIncreasedEventName { // handle network liveness increased events
} else if eventName == types.NetworkLivenessIncreasedEventName || eventName == types.NetworkGasAboveThresholdEventName || eventName == types.NetworkGasBelowThresholdEventName { // handle network liveness increased events
for range notifications {
_, err := networktNotificationHistoryInsertStmt.Exec(
userID,
Expand Down

0 comments on commit 7acad3c

Please sign in to comment.