Skip to content

Commit

Permalink
Use accumulator instead of message as feed version test
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuacolvin0 authored and hkalodner committed Aug 21, 2022
1 parent 921771f commit 3485354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/arb-node-core/monitor/inboxReader.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (ir *InboxReader) GetSequencerInboxWatcher() *ethbridge.SequencerInboxWatch
}

func (ir *InboxReader) isValidSignature(ctx context.Context, message broadcaster.BroadcastFeedMessage) bool {
if message.FeedItem.BatchItem.SequencerMessage == nil {
if message.FeedItem.BatchItem.Accumulator.Equals(common.Hash{}) {
// Nitro feed message, ignore
return false
}
Expand Down

0 comments on commit 3485354

Please sign in to comment.