Fixed transaction serialization with explicit null type (#1628).

This commit is contained in:
Richard Moore 2021-06-21 21:21:35 -04:00
parent e615e51fbf
commit 8277f5a62a
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

View File

@ -87,7 +87,7 @@ const transactionFields = [
]; ];
const allowedTransactionKeys: { [ key: string ]: boolean } = { const allowedTransactionKeys: { [ key: string ]: boolean } = {
chainId: true, data: true, gasLimit: true, gasPrice:true, nonce: true, to: true, value: true chainId: true, data: true, gasLimit: true, gasPrice:true, nonce: true, to: true, type: true, value: true
} }
export function computeAddress(key: BytesLike | string): string { export function computeAddress(key: BytesLike | string): string {