Merge branch 'hotfix/0.7.11' into develop

This commit is contained in:
obscuren 2014-12-24 11:31:08 +01:00
commit 9d429180f9
3 changed files with 8 additions and 2 deletions

View File

@ -30,7 +30,7 @@ import (
const (
ClientIdentifier = "Ethereum(G)"
Version = "0.7.10"
Version = "0.7.11"
)
var clilogger = logger.NewLogger("CLI")

View File

@ -31,7 +31,7 @@ import (
const (
ClientIdentifier = "Mist"
Version = "0.7.10"
Version = "0.7.11"
)
var ethereum *eth.Ethereum

View File

@ -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: