don't send feeless transactions

This commit is contained in:
Jannis Froese 2014-05-01 21:10:19 +02:00
parent 5c8ab69b63
commit 9a2f7a86fc

View file

@ -704,7 +704,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)