From e1541b6a5abda69d63002e616acef5f3a4e87713 Mon Sep 17 00:00:00 2001 From: "fateme.r" Date: Tue, 17 Oct 2023 12:23:36 +0330 Subject: [PATCH] Type mismatch bug fixed --- services/watcher/src/jobs/healthCheck.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ) {