From cd06cd078b6120e948cbd560777557497cc73467 Mon Sep 17 00:00:00 2001 From: Matthieu Fronton Date: Tue, 13 Oct 2015 22:38:13 +0200 Subject: [PATCH] minor typo fix --- shamir/shamir.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shamir/shamir.go b/shamir/shamir.go index da32f2c47..82c247ec2 100644 --- a/shamir/shamir.go +++ b/shamir/shamir.go @@ -200,7 +200,7 @@ func Combine(parts [][]byte) ([]byte, error) { for i, part := range parts { samp := part[firstPartLen-1] if exists := checkMap[samp]; exists { - return nil, fmt.Errorf("duplicte part detected") + return nil, fmt.Errorf("duplicate part detected") } checkMap[samp] = true x_samples[i] = samp