diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-18 18:03:19 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-18 18:03:19 +0800 |
commit | 65650a5c66d03b64c24ec3247ac1c7cdac25b74a (patch) | |
tree | aa193485a347249e5ce747a0329cd6f6d9fbc178 /ethereum.go | |
parent | db8170def31e03ecb7086dd257d7c8fce084313f (diff) | |
parent | 449b9a9d688eaf6a8628a3ae9fa1dd3496f99c71 (diff) | |
download | dexon-65650a5c66d03b64c24ec3247ac1c7cdac25b74a.tar dexon-65650a5c66d03b64c24ec3247ac1c7cdac25b74a.tar.gz dexon-65650a5c66d03b64c24ec3247ac1c7cdac25b74a.tar.bz2 dexon-65650a5c66d03b64c24ec3247ac1c7cdac25b74a.tar.lz dexon-65650a5c66d03b64c24ec3247ac1c7cdac25b74a.tar.xz dexon-65650a5c66d03b64c24ec3247ac1c7cdac25b74a.tar.zst dexon-65650a5c66d03b64c24ec3247ac1c7cdac25b74a.zip |
Merge branch 'develop' into guiminer
Diffstat (limited to 'ethereum.go')
-rw-r--r-- | ethereum.go | 2 |
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 } } |