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 /eth | |
parent | afc8b887abfbfeaec5040a39f0f20d3071902abe (diff) | |
download | go-tangerine-6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e.tar go-tangerine-6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e.tar.gz go-tangerine-6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e.tar.bz2 go-tangerine-6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e.tar.lz go-tangerine-6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e.tar.xz go-tangerine-6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e.tar.zst go-tangerine-6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e.zip |
added protocol handler
Diffstat (limited to 'eth')
-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, |