Commit 88cc1e2a authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

spell nit

parent a8adf2ff
...@@ -30,7 +30,7 @@ func Handshake1Msg() *pb.Handshake1 { ...@@ -30,7 +30,7 @@ func Handshake1Msg() *pb.Handshake1 {
// ErrVersionMismatch is returned when two clients don't share a protocol version // ErrVersionMismatch is returned when two clients don't share a protocol version
var ErrVersionMismatch = errors.New("protocol missmatch") var ErrVersionMismatch = errors.New("protocol missmatch")
// Handshake1Compatible checks wether two versions are compatible // Handshake1Compatible checks whether two versions are compatible
// returns nil if they are fine // returns nil if they are fine
func Handshake1Compatible(handshakeA, handshakeB *pb.Handshake1) error { func Handshake1Compatible(handshakeA, handshakeB *pb.Handshake1) error {
a, err := semver.NewVersion(*handshakeA.ProtocolVersion) a, err := semver.NewVersion(*handshakeA.ProtocolVersion)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment