aboutsummaryrefslogtreecommitdiffstats
path: root/core/tx_pool.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-12-21 16:35:08 +0800
committerGitHub <noreply@github.com>2018-12-21 16:35:08 +0800
commitda60b32c5984e102b21ecc2b2dd75068e434443a (patch)
treea0e4ad194d1d3f41a679c91f1b5b5bfde310a4b7 /core/tx_pool.go
parentb680d7be8c4d11fbb1b7ece43bcee93217d0278e (diff)
downloaddexon-da60b32c5984e102b21ecc2b2dd75068e434443a.tar
dexon-da60b32c5984e102b21ecc2b2dd75068e434443a.tar.gz
dexon-da60b32c5984e102b21ecc2b2dd75068e434443a.tar.bz2
dexon-da60b32c5984e102b21ecc2b2dd75068e434443a.tar.lz
dexon-da60b32c5984e102b21ecc2b2dd75068e434443a.tar.xz
dexon-da60b32c5984e102b21ecc2b2dd75068e434443a.tar.zst
dexon-da60b32c5984e102b21ecc2b2dd75068e434443a.zip
core/types: SigCache with a limited size (#98)
* core/types: SigCache with a limited size * minor tweaks
Diffstat (limited to 'core/tx_pool.go')
-rw-r--r--core/tx_pool.go1
1 files changed, 0 insertions, 1 deletions
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 {