Skip to content

Commit bb52cfa

Browse files
committed
add fix to main
1 parent b3f2dfb commit bb52cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

block/internal/syncing/syncer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ func (s *Syncer) initializeState() error {
267267
AppHash: stateRoot,
268268
}
269269
}
270-
if state.DAHeight < s.genesis.DAStartHeight {
270+
if state.DAHeight != 0 && state.DAHeight < s.genesis.DAStartHeight {
271271
return fmt.Errorf("DA height (%d) is lower than DA start height (%d)", state.DAHeight, s.genesis.DAStartHeight)
272272
}
273273
s.SetLastState(state)

0 commit comments

Comments
 (0)