Skip to content

Commit

Permalink
core/txpool: repair the limbo Billy too on unclean shutdowns (ethereu…
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe authored and jorgemmsilva committed Jun 17, 2024
1 parent 16349b0 commit 7b06bc6
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 7b06bc6

Please sign in to comment.