Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Fix for if wallet has no transactions (#2109)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickyrombo authored Oct 7, 2022
1 parent ec8a713 commit b416893
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/web/src/services/audius-backend/BuyAudio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,6 @@ export const pollForNewTransaction = async ({
limit: 1
})
let transaction = transactions?.[0]?.signature
if (initialTransaction === undefined) {
initialTransaction = transaction
}
let retries = 0
while (transaction === initialTransaction && retries++ < maxRetryCount) {
console.debug(
Expand Down

0 comments on commit b416893

Please sign in to comment.