Browse Source

style

cl-refactor
arkpar 10 years ago
parent
commit
f8869313c8
  1. 4
      libethereum/BlockChainSync.cpp

4
libethereum/BlockChainSync.cpp

@ -1037,9 +1037,9 @@ void PV61Sync::onPeerHashes(std::shared_ptr<EthereumPeer> _peer, h256s const& _h
if (isSyncing(_peer) && _peer->m_syncHashNumber == m_syncingBlockNumber)
{
// Got new subchain marker
if(_hashes.size() != 1)
if (_hashes.size() != 1)
{
clog(NetWarn) << "Peers gives to much hashes";
clog(NetWarn) << "Peer sent too many hashes";
_peer->disable("Too many hashes");
restartSync();
return;

Loading…
Cancel
Save