Allow null type in transaction receipt for legacy type 0 networks (#3459).
This commit is contained in:
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" ],
|
||||
|
Loading…
Reference in New Issue
Block a user