Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5550 from ethereum/fix-sync
Browse files Browse the repository at this point in the history
Fix sync
  • Loading branch information
chfast authored Apr 9, 2019
2 parents ba3f45a + dd0e5e2 commit b5c1e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libethereum/BlockChainSync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ bool BlockChainSync::requestDaoForkBlockHeader(NodeID const& _peerID)
return false;

m_daoChallengedPeers.insert(_peerID);
m_host.peer(_peerID).requestBlockHeaders(daoHardfork, 1, 0, false);
m_host.peer(_peerID).requestBlockHeaders(static_cast<unsigned>(daoHardfork), 1, 0, false);
return true;
}

Expand Down

0 comments on commit b5c1e10

Please sign in to comment.