Skip to content

Commit 9f87902

Browse files
committed
fixes
1 parent d418994 commit 9f87902

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/cmd/run_node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func StartNode(
137137

138138
// sanity check for based sequencer
139139
if nodeConfig.Node.BasedSequencer && genesis.DAStartHeight == 0 {
140-
return fmt.Errorf("A based sequencer requires DAStartHeight to be set in genesis. This value should be identical for all nodes of the chain.")
140+
return fmt.Errorf("A based sequencer requires DAStartHeight to be set in genesis. This value should be identical for all nodes of the chain")
141141
}
142142

143143
metrics := node.DefaultMetricsProvider(nodeConfig.Instrumentation)

sequencers/single/sequencer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func NewSequencer(
8686

8787
// Load checkpoint from DB, or initialize if none exists
8888
checkpoint, err := s.checkpointStore.Load(loadCtx)
89-
if err != nil && errors.Is(err, seqcommon.ErrCheckpointNotFound) {
89+
if err != nil && !errors.Is(err, seqcommon.ErrCheckpointNotFound) {
9090
return nil, fmt.Errorf("failed to load checkpoint from DB: %w", err)
9191
} else {
9292
s.checkpoint = checkpoint

0 commit comments

Comments
 (0)