Skip to content

Commit

Permalink
3 seconds of delay for commit and reveal
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-Mushnin committed Apr 4, 2024
1 parent 44d37a3 commit 425e2c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/src/tokenInterfaces/FullcountPlayerAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export const commitOrRevealPitchFullcountPlayer = ({
console.log(sessionState, response.data);
}
console.log("checking sessionState after reveal, attempt: ", attempt);
await delay(2 * 1000);
await delay(3 * 1000);
}
if (!isSuccess) {
throw new Error("Reveal: FCPlayerAPI success, sessionState unchanged in 20sec");
Expand All @@ -295,7 +295,7 @@ export const commitOrRevealPitchFullcountPlayer = ({
console.log(sessionState, response.data);
}
console.log("checking sessionState after commit, attempt: ", attempt);
await delay(2 * 1000);
await delay(3 * 1000);
}
if (!isSuccess) {
throw new Error("Commit: FCPlayerAPI success, sessionState unchanged in 20sec");
Expand Down Expand Up @@ -358,7 +358,7 @@ export const commitOrRevealSwingFullcountPlayer = ({
break;
}
console.log("checking sessionState after reveal, attempt: ", attempt);
await delay(2 * 1000);
await delay(3 * 1000);
}
if (!isSuccess) {
throw new Error("Reveal: FCPlayerAPI success, sessionState unchanged in 20sec");
Expand All @@ -371,7 +371,7 @@ export const commitOrRevealSwingFullcountPlayer = ({
break;
}
console.log("checking sessionState after commit, attempt: ", attempt);
await delay(2 * 1000);
await delay(3 * 1000);
}
if (!isSuccess) {
throw new Error("Commit: FCPlayerAPI success, sessionState unchanged in 20sec");
Expand Down

0 comments on commit 425e2c2

Please sign in to comment.