Skip to content

Commit

Permalink
Merge pull request #92 from yuki-wtf/fix-creator-pending-txn
Browse files Browse the repository at this point in the history
Fix pending transaction in creator mode
  • Loading branch information
lorcan-codes authored Feb 7, 2024
2 parents 7c003ae + a68a4ae commit 4f6df5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/creator.game.$gameId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export async function loader({ request, params }: LoaderArgs): Promise<TypedResp
FROM transaction t
WHERE CASE "status"
WHEN 'RECEIVED' THEN (select "transactionHash" from infinite i where i."transactionHash" = t."hash") is null
WHEN 'ACCEPTED_ON_L2' THEN (select "transactionHash" from infinite i where i."transactionHash" = t."hash") is null
WHEN 'ACCEPTED_ON_L2' THEN (select "transactionHash" from creator c where c."transactionHash" = t."hash") is null
WHEN 'PENDING' THEN (select "transactionHash" from creator c where c."transactionHash" = t."hash") is null
WHEN 'REJECTED' THEN "createdAt" > (now() - interval '15 minutes')
else FALSE
Expand Down

0 comments on commit 4f6df5b

Please sign in to comment.