diff --git a/sec/insecure/insecure.go b/sec/insecure/insecure.go index 1f409249373fed385c44777e4c411ca5d5c1c8df..eb8dc442057f9d9b056f8f12bfad34f9821dd656 100644 --- a/sec/insecure/insecure.go +++ b/sec/insecure/insecure.go @@ -61,7 +61,7 @@ func (t *Transport) LocalPrivateKey() ci.PrivKey { return t.key } -// SecureInbound *pretends to secure* an outbound connection to the given peer. +// SecureInbound *pretends to secure* an inbound connection to the given peer. // It sends the local peer's ID and public key, and receives the same from the remote peer. // No validation is performed as to the authenticity or ownership of the provided public key, // and the key exchange provides no security.