From 23b9c996560239c3e21676cf23e232de896b639a Mon Sep 17 00:00:00 2001 From: presstab Date: Sun, 12 Nov 2017 18:28:37 -0700 Subject: [PATCH] Remove contextual check from CheckZerocoinMint --- src/main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 961e599666000..e22255e2d9958 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1315,9 +1315,6 @@ std::list ZerocoinSpendListFromBlock(const CBlock bool CheckZerocoinMint(const uint256& txHash, const CTxOut& txout, CValidationState& state, bool fCheckOnly) { - if(!fCheckOnly && chainActive.Height() <= Params().Zerocoin_StartHeight()) - return state.DoS(100, error("CheckZerocoinMint(): This block was generated before zPIV activated. Invalid")); - PublicCoin pubCoin(Params().Zerocoin_Params()); if(!TxOutToPublicCoin(txout, pubCoin, state)) return state.DoS(100, error("CheckZerocoinMint(): TxOutToPublicCoin() failed"));