Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

sec/insecure/insecure.go: Fix typo in doc #167

Merged
merged 1 commit into from
Sep 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sec/insecure/insecure.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down