diff --git a/src/validation.cpp b/src/validation.cpp index 5a644efebf..aec38a6b16 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -4108,7 +4108,7 @@ bool CheckBlock(const CBlock& block, CValidationState& state, const Consensus::P // redundant with the call in AcceptBlockHeader. if (!fIsFakeNet && fCheckPOS && !pos::ContextualCheckProofOfStake(block, consensusParams, pcustomcsview.get())) return state.Invalid(ValidationInvalidReason::BLOCK_INVALID_HEADER, false, REJECT_INVALID, "high-hash", "proof of stake failed"); - +/* // Check the merkle root. // block merkle root is delayed to ConnectBlock to ensure account changes if (fCheckMerkleRoot && block.height < consensusParams.EunosHeight) { @@ -4123,7 +4123,7 @@ bool CheckBlock(const CBlock& block, CValidationState& state, const Consensus::P if (mutated) return state.Invalid(ValidationInvalidReason::BLOCK_MUTATED, false, REJECT_INVALID, "bad-txns-duplicate", "duplicate transaction"); } - +*/ // All potential-corruption validation must be done before we do any // transaction validation, as otherwise we may mark the header as invalid // because we receive the wrong transactions for it.