Skip to content

Commit

Permalink
core/txpool: repair the limbo Billy too on unclean shutdowns (#29451)
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe authored Apr 4, 2024
1 parent a851e39 commit e3bdd84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/txpool/blobpool/limbo.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func newLimbo(datadir string) (*limbo, error) {
fails = append(fails, id)
}
}
store, err := billy.Open(billy.Options{Path: datadir}, newSlotter(), index)
store, err := billy.Open(billy.Options{Path: datadir, Repair: true}, newSlotter(), index)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit e3bdd84

Please sign in to comment.