Skip to content

Commit 4b0db35

Browse files
author
Jan Kalina
authored
Reenable network id check when connecting a peer (#60)
1 parent b87bd38 commit 4b0db35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gossip/peer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ func (p *peer) Handshake(network uint64, progress PeerProgress, genesis common.H
494494
// send both HandshakeMsg and ProgressMsg
495495
err := p2p.Send(p.rw, HandshakeMsg, &handshakeData{
496496
ProtocolVersion: uint32(p.version),
497-
NetworkID: 0, // TODO: set to `network` after all nodes updated to #184
497+
NetworkID: network,
498498
Genesis: genesis,
499499
})
500500
if err != nil {

0 commit comments

Comments
 (0)