diff --git a/sample-btcd.conf b/sample-btcd.conf index 0e61201b3..0a6ddab7e 100644 --- a/sample-btcd.conf +++ b/sample-btcd.conf @@ -106,7 +106,7 @@ ; Disable banning of misbehaving peers. ; nobanning=1 -; Maximum allowed ban score before disconnecting and banning misbehaving peers.` +; Maximum allowed ban score before disconnecting and banning misbehaving peers. ; banthreshold=100 ; How long to ban misbehaving peers. Valid time units are {s, m, h}. diff --git a/server/p2p/p2p.go b/server/p2p/p2p.go index fd92e656e..882519a0c 100644 --- a/server/p2p/p2p.go +++ b/server/p2p/p2p.go @@ -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 }