Commit 9d429180 authored by obscuren's avatar obscuren

Merge branch 'hotfix/0.7.11' into develop

parents f468a9a0 c9f963a7
......@@ -30,7 +30,7 @@ import (
const (
ClientIdentifier = "Ethereum(G)"
Version = "0.7.10"
Version = "0.7.11"
)
var clilogger = logger.NewLogger("CLI")
......
......@@ -31,7 +31,7 @@ import (
const (
ClientIdentifier = "Mist"
Version = "0.7.10"
Version = "0.7.11"
)
var ethereum *eth.Ethereum
......
......@@ -412,6 +412,12 @@ func (p *Peer) HandleInbound() {
//}
case wire.MsgDiscTy:
blockPool := p.ethereum.blockPool
if blockPool.peer == p {
blockPool.peer = nil
blockPool.td = ethutil.Big0
}
p.Stop()
peerlogger.Infoln("Disconnect peer: ", DiscReason(msg.Data.Get(0).Uint()))
case wire.MsgPingTy:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment