Skip to content

Commit

Permalink
Enforce blockReader interface (ledgerwatch#1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored and blxdyx committed Sep 13, 2023
1 parent 9f5e0a9 commit 6ba3dea
Show file tree
Hide file tree
Showing 6 changed files with 257 additions and 250 deletions.
2 changes: 1 addition & 1 deletion state/aggregator_v3.go
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ func (a *AggregatorV3) integrateFiles(sf AggV3StaticFiles, txNumFrom, txNumTo ui
a.tracesTo.integrateFiles(sf.tracesTo, txNumFrom, txNumTo)
}

func (a *AggregatorV3) NeedSaveFilesListInDB() bool {
func (a *AggregatorV3) HasNewFrozenFiles() bool {
return a.needSaveFilesListInDB.CompareAndSwap(true, false)
}

Expand Down
7 changes: 4 additions & 3 deletions txpool/mocks_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6ba3dea

Please sign in to comment.