Commit 935a98e6 authored by Seongjin Kim's avatar Seongjin Kim Committed by GitHub

l2geth: fix log.Crit usage (#2495)

* l2geth: fix log.Crit usage

* add changeset

* changed changeset: minor -> patch
Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent 7f52efb9
---
'@eth-optimism/l2geth': patch
---
rollup: fix log.Crit usage
...@@ -247,10 +247,10 @@ func (s *SyncService) Start() error { ...@@ -247,10 +247,10 @@ func (s *SyncService) Start() error {
} else { } else {
go func() { go func() {
if err := s.syncTransactionsToTip(); err != nil { if err := s.syncTransactionsToTip(); err != nil {
log.Crit("Sequencer cannot sync transactions to tip: %w", err) log.Crit("Sequencer cannot sync transactions to tip", "err", err)
} }
if err := s.syncQueueToTip(); err != nil { if err := s.syncQueueToTip(); err != nil {
log.Crit("Sequencer cannot sync queue to tip: %w", err) log.Crit("Sequencer cannot sync queue to tip", "err", err)
} }
s.setSyncStatus(false) s.setSyncStatus(false)
go s.SequencerLoop() go s.SequencerLoop()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment