]> Sergey Matveev's repositories - btrtrc.git/blobdiff - pexconn.go
Performance improvements to PEX
[btrtrc.git] / pexconn.go
index 57ec7ff52e5442171e0f32d883cc63fe30b04b63..b3719ec869f2a24618b3ec75934c11b17ca7fd09 100644 (file)
@@ -64,7 +64,7 @@ func (s *pexConnState) genmsg() *pp.PexMsg {
                return nil
        }
        s.seq = seq
-       return tx
+       return &tx
 }
 
 // Share is called from the writer goroutine if when it is woken up with the write buffers empty