Skip to content

Commit

Permalink
Remove unused DeletePruningDisabled - is this ok?
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Jan 29, 2025
1 parent a2df724 commit d49dee5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/rawdb/accessors_metadata_ext.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ func HasPruningDisabled(db ethdb.KeyValueStore) (bool, error) {
return db.Has(pruningDisabledKey)
}

// DeletePruningDisabled deletes the marker indicating that the node has
// run with pruning disabled.
func DeletePruningDisabled(db ethdb.KeyValueStore) error {
return db.Delete(pruningDisabledKey)
}

// WriteAcceptorTip writes [hash] as the last accepted block that has been fully processed.
func WriteAcceptorTip(db ethdb.KeyValueWriter, hash common.Hash) error {
return db.Put(acceptorTipKey, hash[:])
Expand Down

0 comments on commit d49dee5

Please sign in to comment.