good morning!!!!

Skip to content
Snippets Groups Projects
Commit ba2236fa authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

cmd/geth, eth: bump version & tmp fix for incorrect TD peers

parent f2a2b2ac
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ import _ "net/http/pprof"
const (
ClientIdentifier = "Geth"
Version = "0.9.14"
Version = "0.9.15"
)
var (
......
......@@ -89,6 +89,13 @@ func (pm *ProtocolManager) synchronise(peer *peer) {
return
}
// FIXME if we have the hash in our chain and the TD of the peer is
// much higher than ours, something is wrong with us or the peer.
// Check if the hash is on our own chain
if pm.chainman.HasBlock(peer.recentHash) {
return
}
// Get the hashes from the peer (synchronously)
err := pm.downloader.Synchronise(peer.id, peer.recentHash)
if err != nil && err == downloader.ErrBadPeer {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment