Commit 8f9bb36f authored by Mark Tyneway's avatar Mark Tyneway

l2geth: small syntax fix in the syncservice

Very minor fix to the syncservice
parent c42fc0df
---
'@eth-optimism/l2geth': patch
---
Quick syntax fix in the sync service
...@@ -1092,7 +1092,7 @@ func (s *SyncService) syncTransactionRange(start, end uint64, backend Backend) e ...@@ -1092,7 +1092,7 @@ func (s *SyncService) syncTransactionRange(start, end uint64, backend Backend) e
if err != nil { if err != nil {
return fmt.Errorf("cannot fetch transaction %d: %w", i, err) return fmt.Errorf("cannot fetch transaction %d: %w", i, err)
} }
if err = s.applyTransaction(tx); err != nil { if err := s.applyTransaction(tx); err != nil {
return fmt.Errorf("Cannot apply transaction: %w", err) return fmt.Errorf("Cannot apply transaction: %w", err)
} }
} }
......
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