diff --git a/configure.ac b/configure.ac index b5ff942d37..7c081bc1ce 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ([2.60]) define(_CLIENT_VERSION_MAJOR, 2) define(_CLIENT_VERSION_MINOR, 0) define(_CLIENT_VERSION_REVISION, 4) -define(_CLIENT_VERSION_BUILD, 0) +define(_CLIENT_VERSION_BUILD, 1) define(_CLIENT_VERSION_IS_RELEASE, true) define(_COPYRIGHT_YEAR, 2018) define(_COPYRIGHT_HOLDERS,[The %s developers]) diff --git a/src/consensus/tx_verify.cpp b/src/consensus/tx_verify.cpp index b01dc1c31e..e2ffce48fc 100644 --- a/src/consensus/tx_verify.cpp +++ b/src/consensus/tx_verify.cpp @@ -210,7 +210,6 @@ bool CheckTransaction(const CTransaction& tx, CValidationState &state, CAssetsCa } /** RVN END */ - // Check for duplicate inputs - note that this check is slow so we skip it in CheckBlock if (fCheckDuplicateInputs) { std::set vInOutPoints; for (const auto& txin : tx.vin) diff --git a/src/validation.cpp b/src/validation.cpp index a103d7b8a6..ec9393ed85 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -3360,7 +3360,7 @@ bool CheckBlock(const CBlock& block, CValidationState& state, const Consensus::P // Check transactions for (const auto& tx : block.vtx) - if (!CheckTransaction(*tx, state, passets, false)) + if (!CheckTransaction(*tx, state, passets, true)) return state.Invalid(false, state.GetRejectCode(), state.GetRejectReason(), strprintf("Transaction check failed (tx hash %s) %s %s", tx->GetHash().ToString(), state.GetDebugMessage(), state.GetRejectReason()));