Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 committed Nov 14, 2024
1 parent 3431c97 commit be08ff8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cl/antiquary/antiquary.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,12 @@ func (a *Antiquary) Loop() error {
if err := a.sn.OpenFolder(); err != nil {
return err
}
if a.stateSn != nil {
if err := a.stateSn.OpenFolder(); err != nil {
return err
}
}

defer logInterval.Stop()
if from != a.sn.BlocksAvailable() && a.sn.BlocksAvailable() != 0 {
a.logger.Info("[Antiquary] Stopping Caplin to process historical indicies", "from", from, "to", a.sn.BlocksAvailable())
Expand Down

0 comments on commit be08ff8

Please sign in to comment.