diff options
author | Felföldi Zsolt <zsfelfoldi@gmail.com> | 2018-06-12 19:00:52 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-06-12 19:00:52 +0800 |
commit | 546d42179e7c121b4c3aeeec5ab71a3c112e7a64 (patch) | |
tree | ec8db9b9127e86f439af6a856ad6c0ab56c060fa /les/helper_test.go | |
parent | f991995918899c48cc89c4d4ec4329bb4a7ce108 (diff) | |
download | dexon-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.go | 2 |
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 } |