mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-24 05:44:30 +00:00
Merge branch 'nozeroout' of git://github.com/sipa/bitcoin
This commit is contained in:
commit
9db9642db4
@ -281,9 +281,12 @@ bool CTransaction::IsStandard() const
|
|||||||
if (!txin.scriptSig.IsPushOnly())
|
if (!txin.scriptSig.IsPushOnly())
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
BOOST_FOREACH(const CTxOut& txout, vout)
|
BOOST_FOREACH(const CTxOut& txout, vout) {
|
||||||
if (!::IsStandard(txout.scriptPubKey))
|
if (!::IsStandard(txout.scriptPubKey))
|
||||||
return false;
|
return false;
|
||||||
|
if (txout.nValue == 0)
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user