Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #148 from MXCzkEVM/bg_feat
Browse files Browse the repository at this point in the history
imprv: epoch check logic
  • Loading branch information
reasje authored Jan 15, 2024
2 parents 421329c + e3a4888 commit ec42c27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class BackgroundFetchConfigUseCase extends ReactiveUseCase {

int epochQuantity = epochNumber - lastEpoch;

if (expectedEpochOccurrence == epochQuantity) {
if (expectedEpochOccurrence <= epochQuantity) {
periodicalCallData = periodicalCallData.copyWith(lasEpoch: epochNumber);
AXSNotification().showNotification("Epoch Achievement Alert!",
"Congratulations! The anticipated epoch you've been waiting for has just occurred. It's a significant milestone. Let's take the next steps forward.,");
Expand Down

0 comments on commit ec42c27

Please sign in to comment.