Skip to content

Commit

Permalink
Do not remove blobs DB in slasher. (#13881)
Browse files Browse the repository at this point in the history
  • Loading branch information
nalepae authored and prestonvanloon committed Apr 25, 2024
1 parent df376d6 commit e482b7f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions beacon-chain/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,9 +643,7 @@ func (b *BeaconNode) startSlasherDB(cliCtx *cli.Context) error {
if err := d.ClearDB(); err != nil {
return errors.Wrap(err, "could not clear database")
}
if err := b.BlobStorage.Clear(); err != nil {
return errors.Wrap(err, "could not clear blob storage")
}

d, err = slasherkv.NewKVStore(b.ctx, dbPath)
if err != nil {
return errors.Wrap(err, "could not create new database")
Expand Down

0 comments on commit e482b7f

Please sign in to comment.