From def6e5a57439cffe7b44a619c05bce4ac513a63e Mon Sep 17 00:00:00 2001 From: Matt Bostock Date: Fri, 13 Apr 2018 16:50:15 +0100 Subject: [PATCH] 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 --- db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.go b/db.go index 59479613a..2de474780 100644 --- a/db.go +++ b/db.go @@ -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