Skip to content

Commit

Permalink
[DX-3122] fix: get transaction receipt success check (#2093)
Browse files Browse the repository at this point in the history
  • Loading branch information
nattb8 authored Aug 15, 2024
1 parent 1f0df72 commit b0b671e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/game-bridge/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ window.callFunction = async (jsonData: string) => {
method: 'eth_getTransactionReceipt',
params: [request.txHash],
});
const success = response !== null && response !== undefined;
const success = response !== undefined;

if (!success) {
throw new Error('Failed to get transaction receipt');
Expand Down

0 comments on commit b0b671e

Please sign in to comment.