server: Fix struct name mismatch

This commit is contained in:
qshuai 2018-09-08 22:34:41 +08:00
parent cff30e1d23
commit badf5453e9

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
}