From da60b32c5984e102b21ecc2b2dd75068e434443a Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Fri, 21 Dec 2018 16:35:08 +0800 Subject: core/types: SigCache with a limited size (#98) * core/types: SigCache with a limited size * minor tweaks --- core/tx_pool.go | 1 - 1 file changed, 1 deletion(-) (limited to 'core/tx_pool.go') diff --git a/core/tx_pool.go b/core/tx_pool.go index f8a9816cc..f4961a034 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -854,7 +854,6 @@ func (pool *TxPool) Get(hash common.Hash) *types.Transaction { // removeTx removes a single transaction from the queue, moving all subsequent // transactions back to the future queue. func (pool *TxPool) removeTx(hash common.Hash, outofbound bool) { - types.GlobalSigCache.Prune([]common.Hash{hash}) // Fetch the transaction we wish to delete tx := pool.all.Get(hash) if tx == nil { -- cgit v1.2.3