eth: enable whisper again

This commit is contained in:
Felix Lange 2015-03-21 00:50:20 +01:00
parent 483d43a15a
commit 7c4ff3abb4

View File

@ -206,7 +206,7 @@ func New(config *Config) (*Ethereum, error) {
ethProto := EthProtocol(config.ProtocolVersion, config.NetworkId, eth.txPool, eth.chainManager, eth.blockPool)
protocols := []p2p.Protocol{ethProto}
if config.Shh {
//protocols = append(protocols, eth.whisper.Protocol())
protocols = append(protocols, eth.whisper.Protocol())
}
eth.net = &p2p.Server{