db: Match comment case to function name (#316)

`validateBlockSequence` is not exported, make the letter case in the comment match the function name.

Signed-off-by: Matt Bostock <matt@mattbostock.com>
This commit is contained in:
Matt Bostock 2018-04-13 16:50:15 +01:00 committed by Brian Brazil
parent b7173eb0e5
commit def6e5a574

2
db.go
View file

@ -556,7 +556,7 @@ func (db *DB) reload(deleteable ...string) (err error) {
return errors.Wrap(db.head.Truncate(maxt), "head truncate failed")
}
// ValidateBlockSequence returns error if given block meta files indicate that some blocks overlaps within sequence.
// validateBlockSequence returns error if given block meta files indicate that some blocks overlaps within sequence.
func validateBlockSequence(bs []*Block) error {
if len(bs) <= 1 {
return nil