From 05d515091621f44edb9cdbfc8c291412c1614082 Mon Sep 17 00:00:00 2001 From: KayleCoder Date: Thu, 1 Aug 2024 10:24:40 +0800 Subject: [PATCH] Check register add delay Signed-off-by: KayleCoder --- src/service/tonbag.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/service/tonbag.ts b/src/service/tonbag.ts index db2ded8..b6543ba 100644 --- a/src/service/tonbag.ts +++ b/src/service/tonbag.ts @@ -104,6 +104,7 @@ async function checkRegisterSuccess(address: Address, orderAddress: string, retr if (retry) { let retryTimes = 0; while (nextProof == -1n && retryTimes < 10) { + await sleep(3); nextProof = await storageContract.getNextProof(address); retryTimes++; }