From 268055e549ddd697ea10b76bb09ed5ae6eee6b1c Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Sat, 28 Apr 2018 15:04:37 -0400 Subject: [PATCH] node: remove dup code from rebase --- node/node.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/node/node.go b/node/node.go index 00d760664..408dee7ef 100644 --- a/node/node.go +++ b/node/node.go @@ -6,7 +6,6 @@ import ( "fmt" "net" "net/http" - "strings" abci "github.com/tendermint/abci/types" amino "github.com/tendermint/go-amino" @@ -280,14 +279,6 @@ func NewNode(config *cfg.Config, addrBook = pex.NewAddrBook(config.P2P.AddrBookFile(), config.P2P.AddrBookStrict) addrBook.SetLogger(p2pLogger.With("book", config.P2P.AddrBookFile())) - var seeds []string - if config.P2P.Seeds != "" { - seeds = strings.Split(config.P2P.Seeds, ",") - } - var privatePeerIDs []string - if config.P2P.PrivatePeerIDs != "" { - privatePeerIDs = strings.Split(config.P2P.PrivatePeerIDs, ",") - } // TODO persistent peers ? so we can have their DNS addrs saved pexReactor := pex.NewPEXReactor(addrBook, &pex.PEXReactorConfig{