Skip to content

Commit

Permalink
Fix nil check causing panic during files merge (#10411)
Browse files Browse the repository at this point in the history
  • Loading branch information
wmitsuda authored May 20, 2024
1 parent 999984a commit dabfd6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions erigon-lib/state/aggregator_files.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ func (sf SelectedStaticFilesV3) Close() {
}

for _, i := range sf.ii {
if i == nil {
continue
}
clist = append(clist, i.fi)
}
for _, group := range clist {
Expand Down

0 comments on commit dabfd6b

Please sign in to comment.