aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCozz Lovan <cozzlovan@yahoo.com>2013-06-11 05:01:52 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2013-12-05 09:15:40 +0100
commit901ae4bffd4c634a24fe689094247828d16a8016 (patch)
treee37b2bd5968246cfff2ecf192f4b1fc700ac498f
parentc9c67b00dfe15c86adbecdb98d1759e836681aee (diff)
fix comment about dust logic
Conflicts: src/core.h
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0f8c4208e4..e7a7140a91 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -359,10 +359,10 @@ bool CTxOut::IsDust() const
// which has units satoshis-per-kilobyte.
// If you'd pay more than 1/3 in fees
// to spend something, then we consider it dust.
- // A typical txout is 33 bytes big, and will
+ // A typical txout is 34 bytes big, and will
// need a CTxIn of at least 148 bytes to spend,
// so dust is a txout less than 54 uBTC
- // (5430 satoshis) with default nMinRelayTxFee
+ // (5460 satoshis) with default nMinRelayTxFee
return ((nValue*1000)/(3*((int)GetSerializeSize(SER_DISK,0)+148)) < CTransaction::nMinRelayTxFee);
}