Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Log expected/actual abridged genesis hashes
  • Loading branch information
halfalicious committed Apr 23, 2019
commit 2a6f7dda7431b4a5b569b8af4bd1caea84a67d74
4 changes: 2 additions & 2 deletions libethereum/EthereumPeer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ std::string EthereumPeer::validate(
error << "Protocol version mismatch. Host protocol version: " << _hostProtocolVersion
<< ", peer protocol version: " << m_protocolVersion;
else if (m_genesisHash != _hostGenesisHash)
error << "Genesis hash mismatch. Host genesis hash: " << _hostGenesisHash
<< ", peer genesis hash: " << m_genesisHash;
error << "Genesis hash mismatch. Host genesis hash: " << _hostGenesisHash.abridged()
<< ", peer genesis hash: " << m_genesisHash.abridged();
else if (m_asking != Asking::State && m_asking != Asking::Nothing)
error << "Peer banned for unexpected status message.";

Expand Down