IsPegsImport() always returns false

This commit is contained in:
Duke
2024-09-18 11:53:40 -04:00
parent 160802cddf
commit 5e30079fcd

View File

@@ -1942,7 +1942,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) && !tx.IsCoinImport() && !tx.IsPegsImport())
if (fLimitFree && nFees < ::minRelayTxFee.GetFee(nSize) && !tx.IsCoinImport() )
{
static CCriticalSection csFreeLimiter;
static double dFreeCount;