aboutsummaryrefslogtreecommitdiffstats
path: root/repository/hash.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository/hash.go')
-rw-r--r--repository/hash.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository/hash.go b/repository/hash.go
index 6a11558f..ad0206c3 100644
--- a/repository/hash.go
+++ b/repository/hash.go
@@ -43,7 +43,7 @@ func (h *Hash) IsValid() bool {
return false
}
for _, r := range *h {
- if (r < 'a' || r > 'z') && (r < '0' || r > '9') {
+ if (r < 'a' || r > 'f') && (r < '0' || r > '9') {
return false
}
}