Skip to content

Commit c494d0b

Browse files
Merge pull request ethereum#272 from OffchainLabs/missing_chainId
Add chain id for ArbitrumUnsignedTx
2 parents be94504 + d44159f commit c494d0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/ethapi/api.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,6 +1623,8 @@ func newRPCTransaction(tx *types.Transaction, blockHash common.Hash, blockNumber
16231623
result.MaxSubmissionFee = (*hexutil.Big)(inner.MaxSubmissionFee)
16241624
result.GasFeeCap = (*hexutil.Big)(inner.GasFeeCap)
16251625
result.ChainID = (*hexutil.Big)(inner.ChainId)
1626+
case *types.ArbitrumUnsignedTx:
1627+
result.ChainID = (*hexutil.Big)(inner.ChainId)
16261628
}
16271629
return result
16281630
}

0 commit comments

Comments
 (0)