added protocol handler

This commit is contained in:
obscuren 2014-12-15 12:02:24 +01:00
parent afc8b887ab
commit 6c168c8f22
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ func New(db ethutil.Database, identity p2p.ClientIdentity, keyManager *crypto.Ke
eth.txPool.Start()
ethProto := EthProtocol(eth.txPool, eth.chainManager, eth.blockPool)
protocols := []p2p.Protocol{ethProto}
protocols := []p2p.Protocol{ethProto, eth.whisper.Protocol()}
server := &p2p.Server{
Identity: identity,