diff options
| author | Gavin Andresen <[email protected]> | 2013-04-24 18:27:00 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-05-03 10:52:09 -0400 |
| commit | 8de9bb53af32f7f6b09c06f831f2c0a7b4e95303 (patch) | |
| tree | afb7c68d3fd15203308f38a47a3cc3875d476a2f /src/main.cpp | |
| parent | Remove flaky util thread unit tests (diff) | |
| download | discoin-8de9bb53af32f7f6b09c06f831f2c0a7b4e95303.tar.xz discoin-8de9bb53af32f7f6b09c06f831f2c0a7b4e95303.zip | |
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 aace382d8..d0d6a99eb 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; |