[net processing] Fixup TryLowWorkHeadersSync comment

This commit is contained in:
dergoegge 2022-10-24 22:03:48 +01:00
parent 1c5c951713
commit e891aabf5a

View file

@ -638,9 +638,8 @@ private:
* @param[in] chain_start_header Where these headers connect in our index. * @param[in] chain_start_header Where these headers connect in our index.
* @param[in,out] headers The headers to be processed. * @param[in,out] headers The headers to be processed.
* *
* @return True if chain was low work and a headers sync was * @return True if chain was low work (headers will be empty after
* initiated (and headers will be empty after calling); false * calling); false otherwise.
* otherwise.
*/ */
bool TryLowWorkHeadersSync(Peer& peer, CNode& pfrom, bool TryLowWorkHeadersSync(Peer& peer, CNode& pfrom,
const CBlockIndex* chain_start_header, const CBlockIndex* chain_start_header,