From 418104648894c2a96e08a1666010a0b43d3a400b Mon Sep 17 00:00:00 2001 From: zelig Date: Tue, 13 Dec 2016 09:24:33 +0100 Subject: [PATCH] swarm/network, cmd/swarm: swarm default network id is 3 (to match Ropsten) --- cmd/swarm/main.go | 2 +- swarm/network/protocol.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/swarm/main.go b/cmd/swarm/main.go index a76e29c3b6..fb2ae8da30 100644 --- a/cmd/swarm/main.go +++ b/cmd/swarm/main.go @@ -68,7 +68,7 @@ var ( } SwarmNetworkIdFlag = cli.IntFlag{ Name: "bzznetworkid", - Usage: "Network identifier (integer, default 322=swarm testnet)", + Usage: "Network identifier (integer, default 3=swarm testnet)", Value: network.NetworkId, } SwarmConfigPathFlag = cli.StringFlag{ diff --git a/swarm/network/protocol.go b/swarm/network/protocol.go index a3ffd338f0..4fffaac6d5 100644 --- a/swarm/network/protocol.go +++ b/swarm/network/protocol.go @@ -51,7 +51,7 @@ const ( Version = 0 ProtocolLength = uint64(8) ProtocolMaxMsgSize = 10 * 1024 * 1024 - NetworkId = 322 + NetworkId = 3 ) const (