From 3e6883244c12403a34731bb1918ff92a2613fbe3 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 3 Nov 2023 23:01:18 +1000 Subject: [PATCH] gossip/peer.Handshake can send valid networkId: all the peers are upgraded to accept it or zero-value --- gossip/peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gossip/peer.go b/gossip/peer.go index 95139b6ee..ce44c32c7 100644 --- a/gossip/peer.go +++ b/gossip/peer.go @@ -494,7 +494,7 @@ func (p *peer) Handshake(network uint64, progress PeerProgress, genesis common.H // send both HandshakeMsg and ProgressMsg err := p2p.Send(p.rw, HandshakeMsg, &handshakeData{ ProtocolVersion: uint32(p.version), - NetworkID: 0, // TODO: set to `network` after all nodes updated to #184 + NetworkID: network, Genesis: genesis, }) if err != nil {