More logging

This commit is contained in:
9seconds
2018-07-08 13:24:48 +03:00
parent 76e88edac3
commit 474fb8a294
2 changed files with 14 additions and 11 deletions
+1
View File
@@ -7,6 +7,7 @@ type HandshakeRequest struct {
func (r *HandshakeRequest) Bytes() []byte {
buf := &bytes.Buffer{}
buf.Grow(len(TagHandshake) + len(HandshakeFlags) + len(HandshakeSenderPID) + len(HandshakePeerPID))
buf.Write(TagHandshake)
buf.Write(HandshakeFlags)