diff --git a/packages/game-bridge/src/index.ts b/packages/game-bridge/src/index.ts index 60927c2230..c098197185 100644 --- a/packages/game-bridge/src/index.ts +++ b/packages/game-bridge/src/index.ts @@ -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');