diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-04-24 18:27:00 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-05-03 10:52:09 -0400 |
commit | 8de9bb53af32f7f6b09c06f831f2c0a7b4e95303 (patch) | |
tree | afb7c68d3fd15203308f38a47a3cc3875d476a2f /src/main.cpp | |
parent | b8e1dc2e53b9d19df26a87686dfd435b3b346f9c (diff) |
Define dust transaction outputs, and make them non-standard
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index aace382d8b..d0d6a99eb1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -384,7 +384,7 @@ bool CTransaction::IsStandard() const BOOST_FOREACH(const CTxOut& txout, vout) { if (!::IsStandard(txout.scriptPubKey)) return false; - if (txout.nValue == 0) + if (txout.IsDust()) return false; } return true; |