fix mempool propagation

This commit is contained in:
blackjok3r
2019-01-09 04:38:54 +08:00
parent 6ab190c5b4
commit 7bc81ad0de

View File

@@ -1858,7 +1858,7 @@ bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransa
// Continuously rate-limit free (really, very-low-fee) transactions
// This mitigates 'penny-flooding' -- sending thousands of free transactions just to
// be annoying or make others' transactions take longer to confirm.
if (fLimitFree && nFees < ::minRelayTxFee.GetFee(nSize))
if (fLimitFree && nFees < ::minRelayTxFee.GetFee(nSize) && !tx.IsCoinImport())
{
static CCriticalSection csFreeLimiter;
static double dFreeCount;