Browse Source

enable syncing with rude peer

cl-refactor
arkpar 10 years ago
parent
commit
aca7c7c01e
  1. 4
      libethereum/EthereumHost.cpp

4
libethereum/EthereumHost.cpp

@ -758,10 +758,6 @@ bool EthereumHost::peerShouldGrabBlocks(EthereumPeer* _peer) const
bool EthereumHost::peerShouldGrabChain(EthereumPeer* _peer) const
{
// Early exit if this peer has proved unreliable.
if (_peer->isRude())
return false;
h256 c = m_chain.currentHash();
unsigned n = m_chain.number();
u256 td = m_chain.details().totalDifficulty;

Loading…
Cancel
Save