Skip to content

Commit

Permalink
Merge pull request #81 from ora-io/fix-empty-status
Browse files Browse the repository at this point in the history
fix empty status issue
  • Loading branch information
walterzhu29 authored May 1, 2024
2 parents d7a6f2e + a9f940f commit 7548100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/ethers_helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function getRawLogsFromBlockReceipts(ethersProvider: providers.JsonRpcProv
continue

const txRawLogs = []
const txRawReceipt = [receipt.status, receipt.cumulativeGasUsed, receipt.logsBloom]
const txRawReceipt = [receipt.status == '0x0' ? '' : receipt.status, receipt.cumulativeGasUsed, receipt.logsBloom]

const logs = receipt.logs
for (const log of logs)
Expand Down

0 comments on commit 7548100

Please sign in to comment.