mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-10-14 00:59:33 +00:00
Typo fixes in comments
This commit is contained in:
parent
ef01f6410d
commit
c45cef0ffe
@ -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}.
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user