Skip to content

Commit

Permalink
[ECO-2162] Remove sleep function that snuck into the grace period f…
Browse files Browse the repository at this point in the history
…lag check (#231)

Co-authored-by: matt <[email protected]>
  • Loading branch information
xbtmatt and matt authored Sep 2, 2024
1 parent aaa44d3 commit 54f46dd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/typescript/sdk/src/markets/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import {
} from "../const";
import { type Types, toMarketResource, toRegistrantGracePeriodFlag } from "../types/types";
import type JSONTypes from "../types/json-types";
import { sleep } from "../utils";
import {
type DerivedEmojicoinData,
type EmojicoinSymbol,
Expand Down Expand Up @@ -187,7 +186,6 @@ export async function getRegistrationGracePeriodFlag(args: {
console.error(
`Failed to fetch account resources for market address: ${marketAddress}. Error: ${e}`
);
await sleep(20000);
return {
marketNotFound: true,
flag: null,
Expand Down

0 comments on commit 54f46dd

Please sign in to comment.