From eecffe50efc3944d713c701fa375dacbf17fb7cf Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 1 Nov 2016 11:03:18 -0400 Subject: Remove redundant duplicate-input check from CheckTransaction --- src/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index 9343330587..21829b6c25 100644 --- a/src/main.h +++ b/src/main.h @@ -343,7 +343,7 @@ void UpdateCoins(const CTransaction& tx, CCoinsViewCache& inputs, int nHeight); /** Transaction validation functions */ /** Context-independent validity checks */ -bool CheckTransaction(const CTransaction& tx, CValidationState& state); +bool CheckTransaction(const CTransaction& tx, CValidationState& state, bool fCheckDuplicateInputs=true); namespace Consensus { -- cgit v1.2.3