aboutsummaryrefslogtreecommitdiffstats
path: root/les/helper_test.go
diff options
context:
space:
mode:
authorFelföldi Zsolt <zsfelfoldi@gmail.com>2018-06-12 19:00:52 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-06-12 19:00:52 +0800
commit546d42179e7c121b4c3aeeec5ab71a3c112e7a64 (patch)
treeec8db9b9127e86f439af6a856ad6c0ab56c060fa /les/helper_test.go
parentf991995918899c48cc89c4d4ec4329bb4a7ce108 (diff)
downloaddexon-546d42179e7c121b4c3aeeec5ab71a3c112e7a64.tar
dexon-546d42179e7c121b4c3aeeec5ab71a3c112e7a64.tar.gz
dexon-546d42179e7c121b4c3aeeec5ab71a3c112e7a64.tar.bz2
dexon-546d42179e7c121b4c3aeeec5ab71a3c112e7a64.tar.lz
dexon-546d42179e7c121b4c3aeeec5ab71a3c112e7a64.tar.xz
dexon-546d42179e7c121b4c3aeeec5ab71a3c112e7a64.tar.zst
dexon-546d42179e7c121b4c3aeeec5ab71a3c112e7a64.zip
les: pass server pool to protocol manager (#16947)
Diffstat (limited to 'les/helper_test.go')
-rw-r--r--les/helper_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/les/helper_test.go b/les/helper_test.go
index 6d997a1a3..8fd01a39e 100644
--- a/les/helper_test.go
+++ b/les/helper_test.go
@@ -178,7 +178,7 @@ func newTestProtocolManager(lightSync bool, blocks int, generator func(int, *cor
} else {
protocolVersions = ServerProtocolVersions
}
- pm, err := NewProtocolManager(gspec.Config, lightSync, protocolVersions, NetworkId, evmux, engine, peers, chain, nil, db, odr, nil, make(chan struct{}), new(sync.WaitGroup))
+ pm, err := NewProtocolManager(gspec.Config, lightSync, protocolVersions, NetworkId, evmux, engine, peers, chain, nil, db, odr, nil, nil, make(chan struct{}), new(sync.WaitGroup))
if err != nil {
return nil, err
}