diff options
| author | Matt Corallo <[email protected]> | 2016-11-01 11:03:18 -0400 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2016-11-09 11:28:00 -0800 |
| commit | eecffe50efc3944d713c701fa375dacbf17fb7cf (patch) | |
| tree | df2cbe0fad1e266ac0c5f5e0e6b8c7e87a3b70e1 /src/main.h | |
| parent | Add deserialize + CheckBlock benchmarks, and a full block hex (diff) | |
| download | discoin-eecffe50efc3944d713c701fa375dacbf17fb7cf.tar.xz discoin-eecffe50efc3944d713c701fa375dacbf17fb7cf.zip | |
Remove redundant duplicate-input check from CheckTransaction
Diffstat (limited to 'src/main.h')
| -rw-r--r-- | src/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index 934333058..21829b6c2 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 { |