Skip to content

Commit e3bdd84

Browse files
authored
core/txpool: repair the limbo Billy too on unclean shutdowns (#29451)
1 parent a851e39 commit e3bdd84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/txpool/blobpool/limbo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func newLimbo(datadir string) (*limbo, error) {
6060
fails = append(fails, id)
6161
}
6262
}
63-
store, err := billy.Open(billy.Options{Path: datadir}, newSlotter(), index)
63+
store, err := billy.Open(billy.Options{Path: datadir, Repair: true}, newSlotter(), index)
6464
if err != nil {
6565
return nil, err
6666
}

0 commit comments

Comments
 (0)