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/server.go | |
parent | f991995918899c48cc89c4d4ec4329bb4a7ce108 (diff) | |
download | go-tangerine-546d42179e7c121b4c3aeeec5ab71a3c112e7a64.tar go-tangerine-546d42179e7c121b4c3aeeec5ab71a3c112e7a64.tar.gz go-tangerine-546d42179e7c121b4c3aeeec5ab71a3c112e7a64.tar.bz2 go-tangerine-546d42179e7c121b4c3aeeec5ab71a3c112e7a64.tar.lz go-tangerine-546d42179e7c121b4c3aeeec5ab71a3c112e7a64.tar.xz go-tangerine-546d42179e7c121b4c3aeeec5ab71a3c112e7a64.tar.zst go-tangerine-546d42179e7c121b4c3aeeec5ab71a3c112e7a64.zip |
les: pass server pool to protocol manager (#16947)
Diffstat (limited to 'les/server.go')
-rw-r--r-- | les/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/les/server.go b/les/server.go index 9eb8ee7f9..fca6124c9 100644 --- a/les/server.go +++ b/les/server.go @@ -52,7 +52,7 @@ type LesServer struct { func NewLesServer(eth *eth.Ethereum, config *eth.Config) (*LesServer, error) { quitSync := make(chan struct{}) - pm, err := NewProtocolManager(eth.BlockChain().Config(), false, ServerProtocolVersions, config.NetworkId, eth.EventMux(), eth.Engine(), newPeerSet(), eth.BlockChain(), eth.TxPool(), eth.ChainDb(), nil, nil, quitSync, new(sync.WaitGroup)) + pm, err := NewProtocolManager(eth.BlockChain().Config(), false, ServerProtocolVersions, config.NetworkId, eth.EventMux(), eth.Engine(), newPeerSet(), eth.BlockChain(), eth.TxPool(), eth.ChainDb(), nil, nil, nil, quitSync, new(sync.WaitGroup)) if err != nil { return nil, err } |