Spelling fixes for wire.go

This commit is contained in:
Tristan B. Kildaire 2019-01-09 11:13:05 +02:00 committed by GitHub
parent cfffe41ec4
commit b31bc8bd38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,7 +114,7 @@ func wire_decode_coords(packet []byte) ([]byte, int) {
////////////////////////////////////////////////////////////////////////////////
// Encodes a swtichMsg into its wire format.
// Encodes a switchMsg into its wire format.
func (m *switchMsg) encode() []byte {
bs := wire_encode_uint64(wire_SwitchMsg)
bs = append(bs, m.Root[:]...)