diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-11-04 18:59:31 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-11-04 18:59:31 +0800 |
commit | e165c2d23cf29fdec51c59f42f74735be2a8e1ff (patch) | |
tree | 375a6b3870c6b4f791c79128a4d7b29015b64851 /eth/helper_test.go | |
parent | dda3bf3ce7ef109541adb6f0020f8d2dd28e5e51 (diff) | |
parent | e46ab3bdcde7236c8fe54d6c83655e50bd19fe31 (diff) | |
download | dexon-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.go | 2 |
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) |