don't send feeless transactions

(cherry picked from commit 9a2f7a86fc)
This commit is contained in:
Jannis Froese 2014-05-01 21:10:19 +02:00
parent 15dee2a91e
commit 145bc31b83

View file

@ -791,7 +791,7 @@ int64_t GetMinFee(const CTransaction& tx, unsigned int nBytes, bool fAllowFree,
int64_t nMinFee = (1 + (int64_t)nBytes / 1000) * nBaseFee;
if (fAllowFree)
if (fAllowFree && mode != GMF_SEND)
{
// Free transaction area
if (nBytes < 26000)