diff --git a/pkg/node/transport.go b/pkg/node/transport.go index a7e43ec..e1e81bd 100644 --- a/pkg/node/transport.go +++ b/pkg/node/transport.go @@ -818,7 +818,7 @@ func (t *Transport) removeConnection(pc *PeerConnection) { pc.Close() } -// Send sends an encrypted message over the connection. +// if err := conn.Send(msg); err != nil { logging.Error("send failed", ...) } func (pc *PeerConnection) Send(msg *Message) error { pc.writeMu.Lock() defer pc.writeMu.Unlock()