Merge pull request #1282 from qshuai/master

server: Fix struct name mismatch
This commit is contained in:
Olaoluwa Osuntokun 2018-09-20 20:16:19 -07:00 committed by GitHub
commit 92494a5188
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,7 @@ func (oa *onionAddr) Network() string {
// Ensure onionAddr implements the net.Addr interface.
var _ net.Addr = (*onionAddr)(nil)
// onionAddr implements the net.Addr interface with two struct fields
// simpleAddr implements the net.Addr interface with two struct fields
type simpleAddr struct {
net, addr string
}