diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-15 19:02:24 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-15 19:02:48 +0800 |
commit | 6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e (patch) | |
tree | 1df5f03c2a9c49dcad273b6e5413d16b21b658c0 | |
parent | afc8b887abfbfeaec5040a39f0f20d3071902abe (diff) | |
download | dexon-6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e.tar dexon-6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e.tar.gz dexon-6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e.tar.bz2 dexon-6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e.tar.lz dexon-6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e.tar.xz dexon-6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e.tar.zst dexon-6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e.zip |
added protocol handler
-rw-r--r-- | eth/backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go index 0bdeeea2a..f3f25d7b5 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -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, |