Skip to content

Commit

Permalink
Update headerssync.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
CryptAxe authored Feb 25, 2024
1 parent 12ea65e commit 6df7fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/headerssync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static_assert(sizeof(CompressedHeader) == 104);
HeadersSyncState::HeadersSyncState(NodeId id, const Consensus::Params& consensus_params,
const CBlockIndex* chain_start) :
m_commit_offset(GetRand<unsigned>(HEADER_COMMITMENT_PERIOD)),
m_id(id), m_consensus_params(consensus_params),
m_id(id),
m_chain_start(chain_start),
m_last_header_received(m_chain_start->GetBlockHeader()),
m_current_height(chain_start->nHeight)
Expand Down

0 comments on commit 6df7fe4

Please sign in to comment.