aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2016-12-13 16:24:33 +0800
committerzelig <viktor.tron@gmail.com>2016-12-13 19:54:13 +0800
commit418104648894c2a96e08a1666010a0b43d3a400b (patch)
treeb73f7ad5438dcb9b766f1cdf1e1c812704db4d9b
parentd7c398b638115ad724e9a1ce363ae78fe25968b7 (diff)
downloadgo-tangerine-418104648894c2a96e08a1666010a0b43d3a400b.tar
go-tangerine-418104648894c2a96e08a1666010a0b43d3a400b.tar.gz
go-tangerine-418104648894c2a96e08a1666010a0b43d3a400b.tar.bz2
go-tangerine-418104648894c2a96e08a1666010a0b43d3a400b.tar.lz
go-tangerine-418104648894c2a96e08a1666010a0b43d3a400b.tar.xz
go-tangerine-418104648894c2a96e08a1666010a0b43d3a400b.tar.zst
go-tangerine-418104648894c2a96e08a1666010a0b43d3a400b.zip
swarm/network, cmd/swarm: swarm default network id is 3 (to match Ropsten)
-rw-r--r--cmd/swarm/main.go2
-rw-r--r--swarm/network/protocol.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/swarm/main.go b/cmd/swarm/main.go
index a76e29c3b..fb2ae8da3 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 a3ffd338f..4fffaac6d 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 (