mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-24 06:25:55 +00:00
Fix condition
This commit is contained in:
parent
6408ba1420
commit
582473cd8c
@ -148,7 +148,7 @@ func (mp *mempool) BlockCandidateTransactions() []*externalapi.DomainTransaction
|
|||||||
var spamTx *externalapi.DomainTransaction
|
var spamTx *externalapi.DomainTransaction
|
||||||
var spamTxNewestUTXODaaScore uint64
|
var spamTxNewestUTXODaaScore uint64
|
||||||
for _, tx := range readyTxs {
|
for _, tx := range readyTxs {
|
||||||
if len(tx.Outputs) > len(tx.Inputs)+2 {
|
if len(tx.Outputs) > len(tx.Inputs)+2 && tx.Fee < constants.SompiPerKaspa {
|
||||||
log.Debugf("Filtered spam tx %s", consensushashing.TransactionID(tx))
|
log.Debugf("Filtered spam tx %s", consensushashing.TransactionID(tx))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user