Skip to content

Commit

Permalink
outputTransactionReceiptFormatter improved
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Furter committed Feb 27, 2019
1 parent dc03898 commit 1ac78d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web3-core-helpers/src/Formatters.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export const outputTransactionReceiptFormatter = (receipt) => {
receipt.contractAddress = Utils.toChecksumAddress(receipt.contractAddress);
}

if (typeof receipt.status !== 'undefined') {
if (typeof receipt.status !== 'undefined' && receipt.status !== null) {
receipt.status = Boolean(parseInt(receipt.status));
}

Expand Down

0 comments on commit 1ac78d1

Please sign in to comment.