aboutsummaryrefslogtreecommitdiff
path: root/verhoeff/verhoeff.go
diff options
context:
space:
mode:
Diffstat (limited to 'verhoeff/verhoeff.go')
-rw-r--r--verhoeff/verhoeff.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/verhoeff/verhoeff.go b/verhoeff/verhoeff.go
index 259a7df..1bc5281 100644
--- a/verhoeff/verhoeff.go
+++ b/verhoeff/verhoeff.go
@@ -33,7 +33,7 @@ var p = [8][10]int{
var inv = [10]int{0, 4, 3, 2, 1, 5, 6, 7, 8, 9}
-// Check number is correct by luhn algorithm
+// Check number is correct by verhoeff algorithm
func Check(number string) error {
c := 0
numbers := strings.Split(number, "")