Commit 3d612575 authored by Artem B's avatar Artem B

Merge branch 'rc-testing-glitch' into 'master'

Revert additional check

See merge request !216
parents eafdcde7 93870764
Pipeline #1190 failed with stages
in 16 minutes and 15 seconds
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2014-2018 The Crown developers
// Copyright (c) 2014-2020 The Crown developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
......@@ -972,11 +972,6 @@ bool CheckTransaction(const CTransaction& tx, CValidationState &state)
if (tx.IsCoinBase() && tx.nType != TRANSACTION_NORMAL)
return state.DoS(100, false, REJECT_INVALID, "bad-txns-cb-type");
}
// all version 1 transactions are normal
else if (tx.nType != TRANSACTION_NORMAL)
{
return state.DoS(100, false, REJECT_INVALID, "bad-txns-type");
}
// Basic checks that don't depend on any context
if (tx.vin.empty())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment