Skip to content

Commit 9d42918

Browse files
committed
Merge branch 'hotfix/0.7.11' into develop
2 parents f468a9a + c9f963a commit 9d42918

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

cmd/ethereum/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030

3131
const (
3232
ClientIdentifier = "Ethereum(G)"
33-
Version = "0.7.10"
33+
Version = "0.7.11"
3434
)
3535

3636
var clilogger = logger.NewLogger("CLI")

cmd/mist/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131

3232
const (
3333
ClientIdentifier = "Mist"
34-
Version = "0.7.10"
34+
Version = "0.7.11"
3535
)
3636

3737
var ethereum *eth.Ethereum

peer.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,12 @@ func (p *Peer) HandleInbound() {
412412
//}
413413

414414
case wire.MsgDiscTy:
415+
blockPool := p.ethereum.blockPool
416+
if blockPool.peer == p {
417+
blockPool.peer = nil
418+
blockPool.td = ethutil.Big0
419+
}
420+
415421
p.Stop()
416422
peerlogger.Infoln("Disconnect peer: ", DiscReason(msg.Data.Get(0).Uint()))
417423
case wire.MsgPingTy:

0 commit comments

Comments
 (0)