Skip to content

Commit

Permalink
internal/server/ship_processor.go: set TransactionTrace.Status again.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnx committed May 11, 2024
1 parent 815fa13 commit 871f2ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/server/ship_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ func (processor *ShipProcessor) processTransactionTrace(log *log.Entry, blockNum
timestamp := block.BlockHeader.Timestamp.Time().UTC()

transaction := message.TransactionTrace{
ID: trace.ID.String(),
BlockNum: blockNumber,
Timestamp: timestamp,
// Status: trace.Status,
ID: trace.ID.String(),
BlockNum: blockNumber,
Timestamp: timestamp,
Status: trace.Status.String(),
CPUUsageUS: trace.CPUUsageUS,
NetUsage: trace.NetUsage,
NetUsageWords: uint32(trace.NetUsageWords),
Expand Down

0 comments on commit 871f2ae

Please sign in to comment.