mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-17 21:46:36 +00:00
Connect to peer node by default
This commit is contained in:
parent
ec040908e9
commit
1199941475
1 changed files with 2 additions and 0 deletions
|
|
@ -430,6 +430,8 @@ func (s *Ethereum) Seed() {
|
||||||
|
|
||||||
s.ConnectToPeer(string(body))
|
s.ConnectToPeer(string(body))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s.ConnectToPeer("54.204.10.41:30303")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Ethereum) peerHandler(listener net.Listener) {
|
func (s *Ethereum) peerHandler(listener net.Listener) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue