Skip to content

Commit 4181046

Browse files
committed
swarm/network, cmd/swarm: swarm default network id is 3 (to match Ropsten)
1 parent d7c398b commit 4181046

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/swarm/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var (
6868
}
6969
SwarmNetworkIdFlag = cli.IntFlag{
7070
Name: "bzznetworkid",
71-
Usage: "Network identifier (integer, default 322=swarm testnet)",
71+
Usage: "Network identifier (integer, default 3=swarm testnet)",
7272
Value: network.NetworkId,
7373
}
7474
SwarmConfigPathFlag = cli.StringFlag{

swarm/network/protocol.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const (
5151
Version = 0
5252
ProtocolLength = uint64(8)
5353
ProtocolMaxMsgSize = 10 * 1024 * 1024
54-
NetworkId = 322
54+
NetworkId = 3
5555
)
5656

5757
const (

0 commit comments

Comments
 (0)