aboutsummaryrefslogtreecommitdiffstats
path: root/eth/sync_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-10-27 21:10:30 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-10-28 18:44:15 +0800
commite46ab3bdcde7236c8fe54d6c83655e50bd19fe31 (patch)
tree4f30c5f9757ebfbde6501e1d53484ff51fd2fad9 /eth/sync_test.go
parent05f74077fb1bc23937f3b25fd4e826dcf5789212 (diff)
downloadgo-tangerine-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar
go-tangerine-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.gz
go-tangerine-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.bz2
go-tangerine-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.lz
go-tangerine-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.xz
go-tangerine-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.zst
go-tangerine-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.zip
eth, p2p, rpc/api: polish protocol info gathering
Diffstat (limited to 'eth/sync_test.go')
-rw-r--r--eth/sync_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/sync_test.go b/eth/sync_test.go
index f3a6718ab..afd90c9b6 100644
--- a/eth/sync_test.go
+++ b/eth/sync_test.go
@@ -40,8 +40,8 @@ func TestFastSyncDisabling(t *testing.T) {
// Sync up the two peers
io1, io2 := p2p.MsgPipe()
- go pmFull.handle(pmFull.newPeer(63, NetworkId, p2p.NewPeer(discover.NodeID{}, "empty", nil), io2))
- go pmEmpty.handle(pmEmpty.newPeer(63, NetworkId, p2p.NewPeer(discover.NodeID{}, "full", nil), io1))
+ go pmFull.handle(pmFull.newPeer(63, p2p.NewPeer(discover.NodeID{}, "empty", nil), io2))
+ go pmEmpty.handle(pmEmpty.newPeer(63, p2p.NewPeer(discover.NodeID{}, "full", nil), io1))
time.Sleep(250 * time.Millisecond)
pmEmpty.synchronise(pmEmpty.peers.BestPeer())