update function comment

Co-authored-by: str4d <thestr4d@gmail.com>
This commit is contained in:
Alfredo Garcia 2020-10-14 11:08:21 -03:00 committed by GitHub
parent ea4c665daf
commit 52270f60ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -4398,7 +4398,8 @@ bool ProcessNewBlock(CValidationState& state, const CChainParams& chainparams, c
}
/**
* This is only invoked by the miner. fCheckPOW is always false.
* This is only invoked by the miner.
* The block's proof-of-work is assumed invalid and not checked.
*/
bool TestBlockValidity(CValidationState& state, const CChainParams& chainparams, const CBlock& block, CBlockIndex* pindexPrev, bool fCheckMerkleRoot)
{