Skip to content

Commit

Permalink
enableValues does not affect validator
Browse files Browse the repository at this point in the history
  • Loading branch information
petar committed Aug 14, 2020
1 parent 455320a commit b95fd5d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dht_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,6 @@ func (c *config) applyFallbacks(h host.Host) error {
return fmt.Errorf("the default validator was changed without being marked as changed")
}
}

if !c.enableValues {
c.validator = nil
}
return nil
}

Expand Down

0 comments on commit b95fd5d

Please sign in to comment.