diff --git a/core/types/l2trace_block.go b/core/types/l2trace_block.go index 3e643383d0..1f45e437fd 100644 --- a/core/types/l2trace_block.go +++ b/core/types/l2trace_block.go @@ -10,7 +10,7 @@ import ( type TransactionData struct { IsCreate bool `json:"isCreate"` From common.Address `json:"from"` - *Transaction + Transaction } // NewTraceTransaction returns a transaction that will serialize to the trace @@ -21,6 +21,6 @@ func NewTraceTransaction(tx *Transaction, blockNumber uint64, config *params.Cha return &TransactionData{ From: from, IsCreate: tx.To() == nil, - Transaction: tx, + Transaction: *tx, } }