From 47175db391e8eb60e4fff12765e7864be82741c0 Mon Sep 17 00:00:00 2001 From: Diego Ximenes Date: Thu, 25 Apr 2024 19:23:31 -0300 Subject: [PATCH] minor fix --- arbnode/transaction_streamer.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/arbnode/transaction_streamer.go b/arbnode/transaction_streamer.go index 46c0fcdb7e..e925b60670 100644 --- a/arbnode/transaction_streamer.go +++ b/arbnode/transaction_streamer.go @@ -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