Skip to content

Commit

Permalink
transaction status bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IDubuque committed Mar 13, 2024
1 parent ee3fbf8 commit a888eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worker/tasks/chainIndexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export const createChainIndexerTask = async (chainId: number) => {
transactionIndex: receipt.transactionIndex,
gasUsed: receipt.gasUsed.toString(),
effectiveGasPrice: receipt.effectiveGasPrice.toString(),
status: receipt.status || 1, // requires post-byzantium
status: receipt.status ?? 1, // requires post-byzantium
};
},
);
Expand Down

0 comments on commit a888eaa

Please sign in to comment.