diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-10-27 21:10:30 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-10-28 18:44:15 +0800 |
commit | e46ab3bdcde7236c8fe54d6c83655e50bd19fe31 (patch) | |
tree | 4f30c5f9757ebfbde6501e1d53484ff51fd2fad9 /eth/helper_test.go | |
parent | 05f74077fb1bc23937f3b25fd4e826dcf5789212 (diff) | |
download | dexon-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar dexon-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.gz dexon-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.bz2 dexon-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.lz dexon-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.xz dexon-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.zst dexon-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.zip |
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) |