mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-02-20 20:29:14 +00:00
don't send feeless transactions
(cherry picked from commit 9a2f7a86fca6e243db7745cb1b15b35ce1b97b2e)
This commit is contained in:
parent
15dee2a91e
commit
145bc31b83
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user