mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +03:00
Spelling fixes for wire.go
This commit is contained in:
parent
cfffe41ec4
commit
b31bc8bd38
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
func (m *switchMsg) encode() []byte {
|
||||||
bs := wire_encode_uint64(wire_SwitchMsg)
|
bs := wire_encode_uint64(wire_SwitchMsg)
|
||||||
bs = append(bs, m.Root[:]...)
|
bs = append(bs, m.Root[:]...)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue