Browse Source

Merge pull request #2150 from arkpar/bc

Use all peers for resyncing
cl-refactor
Gav Wood 10 years ago
parent
commit
f2a084654c
  1. 4
      libethereum/EthereumHost.cpp

4
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();
}
}

Loading…
Cancel
Save