Allow null type in transaction receipt for legacy type 0 networks (#3459).

This commit is contained in:
Richard Moore 2023-02-12 22:12:12 -05:00
parent 2ba4a17255
commit 6372a46b1b

@ -168,7 +168,7 @@ const _formatTransactionReceipt = object({
cumulativeGasUsed: getBigInt,
effectiveGasPrice: allowNull(getBigInt),
status: allowNull(getNumber),
type: getNumber
type: allowNull(getNumber, 0)
}, {
effectiveGasPrice: [ "gasPrice" ],
hash: [ "transactionHash" ],