aboutsummaryrefslogtreecommitdiffstats
path: root/eth/helper_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-11-04 18:59:31 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-11-04 18:59:31 +0800
commite165c2d23cf29fdec51c59f42f74735be2a8e1ff (patch)
tree375a6b3870c6b4f791c79128a4d7b29015b64851 /eth/helper_test.go
parentdda3bf3ce7ef109541adb6f0020f8d2dd28e5e51 (diff)
parente46ab3bdcde7236c8fe54d6c83655e50bd19fe31 (diff)
downloaddexon-e165c2d23cf29fdec51c59f42f74735be2a8e1ff.tar.gz
dexon-e165c2d23cf29fdec51c59f42f74735be2a8e1ff.tar.zst
dexon-e165c2d23cf29fdec51c59f42f74735be2a8e1ff.zip
Merge pull request #1934 from karalabe/polish-protocol-infos
eth, p2p, rpc/api: polish protocol info gathering
Diffstat (limited to 'eth/helper_test.go')
-rw-r--r--eth/helper_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/helper_test.go b/eth/helper_test.go
index 16907be8b..65fccf7b4 100644
--- a/eth/helper_test.go
+++ b/eth/helper_test.go
@@ -117,7 +117,7 @@ func newTestPeer(name string, version int, pm *ProtocolManager, shake bool) (*te
var id discover.NodeID
rand.Read(id[:])
- peer := pm.newPeer(version, NetworkId, p2p.NewPeer(id, name, nil), net)
+ peer := pm.newPeer(version, p2p.NewPeer(id, name, nil), net)
// Start the peer on a new thread
errc := make(chan error, 1)