aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-18 17:57:44 +0800
committerobscuren <geffobscura@gmail.com>2014-07-18 17:57:44 +0800
commit449b9a9d688eaf6a8628a3ae9fa1dd3496f99c71 (patch)
treeae5f02aed89abb1dd4d8856aeeede7cdae12c219 /ethereum.go
parent28a146d438b0c11820aef5d9551c6eff929acdec (diff)
downloadgo-tangerine-449b9a9d688eaf6a8628a3ae9fa1dd3496f99c71.tar
go-tangerine-449b9a9d688eaf6a8628a3ae9fa1dd3496f99c71.tar.gz
go-tangerine-449b9a9d688eaf6a8628a3ae9fa1dd3496f99c71.tar.bz2
go-tangerine-449b9a9d688eaf6a8628a3ae9fa1dd3496f99c71.tar.lz
go-tangerine-449b9a9d688eaf6a8628a3ae9fa1dd3496f99c71.tar.xz
go-tangerine-449b9a9d688eaf6a8628a3ae9fa1dd3496f99c71.tar.zst
go-tangerine-449b9a9d688eaf6a8628a3ae9fa1dd3496f99c71.zip
Check if version in known + fix
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum.go b/ethereum.go
index f43d37be2..18c1f8a23 100644
--- a/ethereum.go
+++ b/ethereum.go
@@ -160,7 +160,7 @@ func (s *Ethereum) IsUpToDate() bool {
upToDate := true
eachPeer(s.peers, func(peer *Peer, e *list.Element) {
if atomic.LoadInt32(&peer.connected) == 1 {
- if peer.catchingUp == true {
+ if peer.catchingUp == true && peer.versionKnown {
upToDate = false
}
}