From 8605b8c9ce604ba55cad80c8f837d2fdc0e77bbb Mon Sep 17 00:00:00 2001 From: arkpar Date: Thu, 11 Jun 2015 09:25:19 +0200 Subject: [PATCH] use all peers for re-syncing --- libethereum/EthereumHost.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libethereum/EthereumHost.cpp b/libethereum/EthereumHost.cpp index 0c59d3839..33f95695b 100644 --- a/libethereum/EthereumHost.cpp +++ b/libethereum/EthereumHost.cpp @@ -367,7 +367,7 @@ void EthereumHost::onPeerHashes(EthereumPeer* _peer, h256s const& _hashes, bool if (_complete) { m_needSyncBlocks = true; - continueSync(_peer); + continueSync(); } else if (syncByNumber && m_hashMan.isComplete()) { @@ -540,7 +540,7 @@ void EthereumHost::onPeerNewBlock(EthereumPeer* _peer, RLP const& _r) _peer->m_knownBlocks.insert(h); if (sync) - continueSync(_peer); + continueSync(); } }