core: sanitize more TxPoolConfig fields (#17210)
* core: sanitize more TxPoolConfig fields * core: fix TestTransactionPendingMinimumAllowance
This commit is contained in:
committed by
Martin Holst Swende
parent
5f251a6448
commit
27ce4eb78b
@ -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()
|
||||
|
Reference in New Issue
Block a user