From 293af68ebbba9d120af8af17b676994b683254c6 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Fri, 9 Oct 2020 08:54:16 -0600 Subject: [PATCH] Apply style suggestions from code review Co-authored-by: str4d --- src/main.cpp | 3 +-- src/main.h | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index c1b0cc992..648537a30 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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. diff --git a/src/main.h b/src/main.h index 7ec6608e0..db57e4e4d 100644 --- a/src/main.h +++ b/src/main.h @@ -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()