mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-29 22:21:21 +00:00
fix lint
This commit is contained in:
parent
66c2b60324
commit
cae31157b1
@ -274,8 +274,7 @@ func NewNode(config *cfg.Config,
|
|||||||
//
|
//
|
||||||
// If PEX is on, it should handle dialing the seeds. Otherwise the switch does it.
|
// If PEX is on, it should handle dialing the seeds. Otherwise the switch does it.
|
||||||
// Note we currently use the addrBook regardless at least for AddOurAddress
|
// Note we currently use the addrBook regardless at least for AddOurAddress
|
||||||
var addrBook pex.AddrBook
|
addrBook := pex.NewAddrBook(config.P2P.AddrBookFile(), config.P2P.AddrBookStrict)
|
||||||
addrBook = pex.NewAddrBook(config.P2P.AddrBookFile(), config.P2P.AddrBookStrict)
|
|
||||||
addrBook.SetLogger(p2pLogger.With("book", config.P2P.AddrBookFile()))
|
addrBook.SetLogger(p2pLogger.With("book", config.P2P.AddrBookFile()))
|
||||||
if config.P2P.PexReactor {
|
if config.P2P.PexReactor {
|
||||||
// TODO persistent peers ? so we can have their DNS addrs saved
|
// TODO persistent peers ? so we can have their DNS addrs saved
|
||||||
|
Loading…
x
Reference in New Issue
Block a user