aboutsummaryrefslogtreecommitdiffstats
path: root/core/tx_pool_test.go
diff options
context:
space:
mode:
authorJordan Krage <jmank88@gmail.com>2018-12-20 21:00:58 +0800
committerMartin Holst Swende <martin@swende.se>2018-12-20 21:00:58 +0800
commit27ce4eb78bdf5d9b742ed05babe9b86a434733a1 (patch)
tree83adcb29e48cff8b27850e9aa9b9baeff67094e3 /core/tx_pool_test.go
parent5f251a6448b3385015ab531c35071743f93cafae (diff)
downloadgo-tangerine-27ce4eb78bdf5d9b742ed05babe9b86a434733a1.tar.gz
go-tangerine-27ce4eb78bdf5d9b742ed05babe9b86a434733a1.tar.zst
go-tangerine-27ce4eb78bdf5d9b742ed05babe9b86a434733a1.zip
core: sanitize more TxPoolConfig fields (#17210)
* core: sanitize more TxPoolConfig fields * core: fix TestTransactionPendingMinimumAllowance
Diffstat (limited to 'core/tx_pool_test.go')
-rw-r--r--core/tx_pool_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tx_pool_test.go b/core/tx_pool_test.go
index 5a5920544..6d3bd7a5a 100644
--- a/core/tx_pool_test.go
+++ b/core/tx_pool_test.go
@@ -1095,7 +1095,7 @@ func TestTransactionPendingMinimumAllowance(t *testing.T) {
blockchain := &testBlockChain{statedb, 1000000, new(event.Feed)}
config := testTxPoolConfig
- config.GlobalSlots = 0
+ config.GlobalSlots = 1
pool := NewTxPool(config, params.TestChainConfig, blockchain)
defer pool.Stop()