aboutsummaryrefslogtreecommitdiffstats
path: root/core/transaction_pool.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/transaction_pool.go')
-rw-r--r--core/transaction_pool.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/transaction_pool.go b/core/transaction_pool.go
index 930efdaec..58ea518d6 100644
--- a/core/transaction_pool.go
+++ b/core/transaction_pool.go
@@ -105,6 +105,7 @@ func (self *TxPool) add(tx *types.Transaction) error {
}
err := self.ValidateTransaction(tx)
if err != nil {
+ self.invalidHashes.Add(tx.Hash())
return err
}