Skip to content

Commit

Permalink
Add Type field to ArbitrumInternalTx
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-bousfield authored and hkalodner committed Jan 24, 2022
1 parent c396623 commit 0ba62aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/types/arb_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ func (d *ArbitrumDepositTx) setSignatureValues(chainID, v, r, s *big.Int) {

type ArbitrumInternalTx struct {
ChainId *big.Int
Type uint8
Data []byte
BlockNumber uint64
TxIndex uint64
Expand All @@ -322,6 +323,7 @@ func (t *ArbitrumInternalTx) txType() byte {
func (t *ArbitrumInternalTx) copy() TxData {
return &ArbitrumInternalTx{
new(big.Int).Set(t.ChainId),
t.Type,
common.CopyBytes(t.Data),
t.BlockNumber,
t.TxIndex,
Expand Down

0 comments on commit 0ba62aa

Please sign in to comment.