mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Merge pull request #2223 from gavinandresen/nonfinalnonstandard
Treat non-final transactions as non-standard
This commit is contained in:
commit
f73abdc82d
@ -368,6 +368,9 @@ bool CTransaction::IsStandard() const
|
||||
if (nVersion > CTransaction::CURRENT_VERSION)
|
||||
return false;
|
||||
|
||||
if (!IsFinal())
|
||||
return false;
|
||||
|
||||
BOOST_FOREACH(const CTxIn& txin, vin)
|
||||
{
|
||||
// Biggest 'standard' txin is a 3-signature 3-of-3 CHECKMULTISIG
|
||||
|
Loading…
Reference in New Issue
Block a user