core/txpool: repair the limbo Billy too on unclean shutdowns (#29451)

pull/29453/head
Péter Szilágyi 8 months ago committed by GitHub
parent a851e39cbe
commit e3bdd84e98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      core/txpool/blobpool/limbo.go

@ -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
}

Loading…
Cancel
Save