mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-25 10:41:41 +00:00
remove public addr book funcs from pex
This commit is contained in:
@ -153,6 +153,7 @@ func (a *AddrBook) OurAddresses() []*NetAddress {
|
||||
return addrs
|
||||
}
|
||||
|
||||
// NOTE: addr must not be nil
|
||||
func (a *AddrBook) AddAddress(addr *NetAddress, src *NetAddress) {
|
||||
a.mtx.Lock()
|
||||
defer a.mtx.Unlock()
|
||||
|
Reference in New Issue
Block a user