aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authordogecoin <[email protected]>2013-12-25 22:35:09 -0800
committerdogecoin <[email protected]>2013-12-25 22:35:09 -0800
commit2ee5cb3396df66c10fef34480a183d00e3bec635 (patch)
tree0413f70607f4257c5c39ba4dfb7208e18ab8d10a /src/wallet.cpp
parentMerge pull request #49 from siavashg/master (diff)
parentadd v1.3 graphic (diff)
downloadarchived-discoin-1.4alpha.tar.xz
archived-discoin-1.4alpha.zip
Merge pull request #52 from billym2k/masterv1.31.4alpha
Fix dust issue
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r--src/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp
index f828261fe..f710d8321 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -1125,7 +1125,7 @@ bool CWallet::CreateTransaction(const vector<pair<CScript, int64> >& vecSend, CW
// if sub-cent change is required, the fee must be raised to at least MIN_TX_FEE
// or until nChange becomes zero
// NOTE: this depends on the exact behaviour of GetMinFee
- if (nFeeRet < MIN_TX_FEE && nChange > 0 && nChange < CENT)
+ if (nFeeRet < MIN_TX_FEE && nChange > 0 && nChange < COIN)
{
int64 nMoveToFee = min(nChange, MIN_TX_FEE - nFeeRet);
nChange -= nMoveToFee;