diff --git a/app/modules/prover/lib/constants.ts b/app/modules/prover/lib/constants.ts
index 5de1c0e729ed016fc06f90b7abe06f7d0c4f97a2..0602e7de87009833c41fccff032fd1c6b9d8e137 100644
--- a/app/modules/prover/lib/constants.ts
+++ b/app/modules/prover/lib/constants.ts
@@ -8,7 +8,7 @@ export const Constants = {
   DEFAULT_CPU: 0.6,
   DEFAULT_PEER_ID: 1,
   MIN_PEER_ID: 1,
-  MAX_PEER_ID: 999999,
+  MAX_PEER_ID: 899, // Due to MAX_SAFE_INTEGER = 9007199254740991 (16 digits, and we use 11 digits for the nonce + 2 digits for core number => 3 digits for the peer, must be below 900)
 
   NONCE_RANGE: 1000 * 1000 * 1000 * 100,