diff --git a/services/watcher/src/jobs/healthCheck.ts b/services/watcher/src/jobs/healthCheck.ts index ff0865e6..421a0661 100644 --- a/services/watcher/src/jobs/healthCheck.ts +++ b/services/watcher/src/jobs/healthCheck.ts @@ -16,7 +16,7 @@ const updatePermitCheckThreshold = async (boxes: Boxes) => { logger.warn('incorrect repo box format, repo R6 register is undefined.'); return; } - const commitmentRwt = R6.to_i64_str_array()[0]; + const commitmentRwt = BigInt(R6.to_i64_str_array()[0]); if ( HealthCheckSingleton.getInstance().checkIfPermitCheckExists(commitmentRwt) ) {