// Delete deletes anchor event by id.
Delete deletes anchor event by id.
// Delete deletes anchor event by id .
func (s *Store) Delete(id string) error {
	if err := s.store.Delete(id); err != nil {
		return orberrors.NewTransient(fmt.Errorf("failed to delete anchor event id[%s]: %w", id, err))
	}
	logger.Debugf("deleted anchor event id[%s]", id)
	return nil
}
func ( s * Store ) Delete ( id string ) error { if err := s . store . Delete ( id ) ; err != nil { return orberrors . NewTransient ( fmt . Errorf ( " " , id , err ) ) } logger . Debugf ( " " , id ) return nil }
Delete deletes anchor event by id.
Delete deletes anchor event by id .