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 nisdas committed Jun 19, 2024
1 parent 99468f7 commit 40f8950
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 40f8950

Please sign in to comment.