aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2016-11-01 11:03:18 -0400
committerMatt Corallo <git@bluematt.me>2016-11-09 11:28:00 -0800
commiteecffe50efc3944d713c701fa375dacbf17fb7cf (patch)
treedf2cbe0fad1e266ac0c5f5e0e6b8c7e87a3b70e1 /src/main.h
parentb2e178a2d2e387b147f0d87e64fc773d5ec799d0 (diff)
Remove redundant duplicate-input check from CheckTransaction
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
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 {