Typo fixes in comments

This commit is contained in:
Mike Zak 2018-12-24 16:19:51 +02:00
parent ef01f6410d
commit c45cef0ffe
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@
; Disable banning of misbehaving peers. ; Disable banning of misbehaving peers.
; nobanning=1 ; nobanning=1
; Maximum allowed ban score before disconnecting and banning misbehaving peers.` ; Maximum allowed ban score before disconnecting and banning misbehaving peers.
; banthreshold=100 ; banthreshold=100
; How long to ban misbehaving peers. Valid time units are {s, m, h}. ; How long to ban misbehaving peers. Valid time units are {s, m, h}.

View File

@ -94,7 +94,7 @@ func (oa *onionAddr) Network() string {
// Ensure onionAddr implements the net.Addr interface. // Ensure onionAddr implements the net.Addr interface.
var _ net.Addr = (*onionAddr)(nil) 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 { type simpleAddr struct {
net, addr string net, addr string
} }