mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-05 07:42:57 +00:00
added protocol handler
This commit is contained in:
parent
afc8b887ab
commit
6c168c8f22
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ func New(db ethutil.Database, identity p2p.ClientIdentity, keyManager *crypto.Ke
|
||||||
eth.txPool.Start()
|
eth.txPool.Start()
|
||||||
|
|
||||||
ethProto := EthProtocol(eth.txPool, eth.chainManager, eth.blockPool)
|
ethProto := EthProtocol(eth.txPool, eth.chainManager, eth.blockPool)
|
||||||
protocols := []p2p.Protocol{ethProto}
|
protocols := []p2p.Protocol{ethProto, eth.whisper.Protocol()}
|
||||||
|
|
||||||
server := &p2p.Server{
|
server := &p2p.Server{
|
||||||
Identity: identity,
|
Identity: identity,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue