Apply style suggestions from code review

Co-authored-by: str4d <thestr4d@gmail.com>
This commit is contained in:
Kris Nuttycombe 2020-10-09 08:54:16 -06:00 committed by GitHub
parent 91172401ac
commit 293af68ebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View File

@ -4041,8 +4041,7 @@ bool CheckBlock(const CBlock& block,
ProofVerifier& verifier,
bool fCheckPOW,
bool fCheckMerkleRoot,
bool fCheckTransactions
)
bool fCheckTransactions)
{
// These are checks that are independent of context.

View File

@ -457,8 +457,7 @@ bool CheckBlock(const CBlock& block, CValidationState& state,
ProofVerifier& verifier,
bool fCheckPOW,
bool fCheckMerkleRoot,
bool fCheckTransactions
);
bool fCheckTransactions);
/** Context-dependent validity checks.
* By "context", we mean only the previous block headers, but not the UTXO
@ -468,8 +467,7 @@ bool ContextualCheckBlockHeader(const CBlockHeader& block, CValidationState& sta
bool ContextualCheckBlock(const CBlock& block, CValidationState& state,
const CChainParams& chainparams,
CBlockIndex *pindexPrev,
bool fCheckTransactions
);
bool fCheckTransactions);
/** Apply the effects of this block (with given index) on the UTXO set represented by coins.
* Validity checks that depend on the UTXO set are also done; ConnectBlock()