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 rkapka committed Apr 30, 2024
1 parent 10a4be5 commit 7757e5e
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 7757e5e

Please sign in to comment.