Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoximenes committed Apr 25, 2024
1 parent a679e42 commit 47175db
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arbnode/transaction_streamer.go
Original file line number Diff line number Diff line change
Expand Up @@ -778,12 +778,9 @@ func (s *TransactionStreamer) countDuplicateMessages(
nextMessageCopy := nextMessage
nextMessageCopy.Message = new(arbostypes.L1IncomingMessage)
*nextMessageCopy.Message = *nextMessage.Message

batchGasCostBkup := dbMessageParsed.Message.BatchGasCost

dbMessageParsed.Message.BatchGasCost = nil
nextMessageCopy.Message.BatchGasCost = nil

if reflect.DeepEqual(dbMessageParsed, nextMessageCopy) {
// Actually this isn't a reorg; only the batch gas costs differed
duplicateMessage = true
Expand Down

0 comments on commit 47175db

Please sign in to comment.