Skip to content

Commit

Permalink
fix: add missing sleep in wait for stamp usable (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cafe137 authored Oct 12, 2022
1 parent f67a743 commit cf2002a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export async function waitForStampUsable(beeDebug: BeeDebug, batchId: string): P

if (batch.usable) {
return
} else {
await sleep(3000)
}
} catch {
await sleep(3000)
Expand Down

0 comments on commit cf2002a

Please sign in to comment.