spell nit
Juan Batiz-Benet committed
Oct 22, 2014 at 12:49 UTC
88cc1e2a5cde459d1f5c65bbe25900129dfe9a59
1 file changed
+1
-1
net/handshake/handshake1.go
+1
-1
@@ -30,7 +30,7 @@ func Handshake1Msg() *pb.Handshake1 {
30
// ErrVersionMismatch is returned when two clients don't share a protocol version
31
var ErrVersionMismatch = errors.New("protocol missmatch")
32
33
-// Handshake1Compatible checks wether two versions are compatible
33
+// Handshake1Compatible checks whether two versions are compatible
34
// returns nil if they are fine
35
func Handshake1Compatible(handshakeA, handshakeB *pb.Handshake1) error {
36
a, err := semver.NewVersion(*handshakeA.ProtocolVersion)