Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 committed Nov 8, 2024
1 parent 917e8f8 commit dded454
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cl/antiquary/state_antiquary.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ func FillStaticValidatorsTableIfNeeded(ctx context.Context, logger log.Logger, s
if err := stateSn.OpenFolder(); err != nil {
return false, err
}
if stateSn.BlocksAvailable() == 0 {
return false, nil
}
blocksAvaiable := stateSn.BlocksAvailable()
stateSnRoTx := stateSn.View()
defer stateSnRoTx.Close()
Expand Down

0 comments on commit dded454

Please sign in to comment.