Skip to content

Commit 9a50aa7

Browse files
author
Lucas Araujo
committed
[DDW-812] Use value from enum
1 parent 5ac0e2f commit 9a50aa7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/main/utils/handleCheckBlockReplayProgress.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ export const handleCheckBlockReplayProgress = (
8282
mainWindow.webContents
8383
);
8484

85-
if (finalProgressPercentage === 100 && progressType === 'pushingLedger') {
85+
if (
86+
finalProgressPercentage === 100 &&
87+
progressType === BlockSyncType.pushingLedger
88+
) {
8689
clearInterval(checkBlockReplayProgressInterval);
8790
}
8891
};

0 commit comments

Comments
 (0)