fix: don't try to init
This commit is contained in:
parent
29f7563d75
commit
f7a86fd2a5
|
@ -63,11 +63,6 @@ func (p *P2PImpl) Peers() structs.Map {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *P2PImpl) Start() error {
|
func (p *P2PImpl) Start() error {
|
||||||
err := p.Init()
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
config := p.Node().Config()
|
config := p.Node().Config()
|
||||||
if len(config.P2P.Peers.Initial) > 0 {
|
if len(config.P2P.Peers.Initial) > 0 {
|
||||||
initialPeers := config.P2P.Peers.Initial
|
initialPeers := config.P2P.Peers.Initial
|
||||||
|
|
Loading…
Reference in New Issue