Add -mininput=value option
[novacoin.git] / src / wallet.h
index f52dc59..b0c557e 100644 (file)
@@ -234,7 +234,7 @@ public:
     bool IsMine(const CTransaction& tx) const
     {
         BOOST_FOREACH(const CTxOut& txout, tx.vout)
-            if (IsMine(txout))
+            if (IsMine(txout) && txout.nValue >= nMinimumInputValue)
                 return true;
         return false;
     }