mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core: goimports -w tx_pool_test.go
This commit is contained in:
parent
1f1dcd603d
commit
636e0815f0
1 changed files with 6 additions and 2 deletions
|
|
@ -857,8 +857,12 @@ func testTransactionQueueGlobalLimiting(t *testing.T, nolocals bool) {
|
||||||
//
|
//
|
||||||
// This logic should not hold for local transactions, unless the local tracking
|
// This logic should not hold for local transactions, unless the local tracking
|
||||||
// mechanism is disabled.
|
// mechanism is disabled.
|
||||||
func TestTransactionQueueTimeLimiting(t *testing.T) { testTransactionQueueTimeLimiting(t, false) }
|
func TestTransactionQueueTimeLimiting(t *testing.T) {
|
||||||
func TestTransactionQueueTimeLimitingNoLocals(t *testing.T) { testTransactionQueueTimeLimiting(t, true) }
|
testTransactionQueueTimeLimiting(t, false)
|
||||||
|
}
|
||||||
|
func TestTransactionQueueTimeLimitingNoLocals(t *testing.T) {
|
||||||
|
testTransactionQueueTimeLimiting(t, true)
|
||||||
|
}
|
||||||
|
|
||||||
func testTransactionQueueTimeLimiting(t *testing.T, nolocals bool) {
|
func testTransactionQueueTimeLimiting(t *testing.T, nolocals bool) {
|
||||||
// Reduce the eviction interval to a testable amount
|
// Reduce the eviction interval to a testable amount
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue