aboutsummaryrefslogtreecommitdiffstats
path: root/eth/protocol_test.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-10-10 22:19:05 +0800
committerGitHub <noreply@github.com>2016-10-10 22:19:05 +0800
commit5a6008e004a6611d7a478495d083eaf26e52c5f1 (patch)
tree9986a1f364306b8a09234125d623d99b4c56d098 /eth/protocol_test.go
parent4fced0972d9bf2802cb9c3eb16cedc79c9dd60a1 (diff)
parentabaa56fea59f38fcea4fb6a7537074dbe845cf51 (diff)
downloadgo-tangerine-1.4.17.tar
go-tangerine-1.4.17.tar.gz
go-tangerine-1.4.17.tar.bz2
go-tangerine-1.4.17.tar.lz
go-tangerine-1.4.17.tar.xz
go-tangerine-1.4.17.tar.zst
go-tangerine-1.4.17.zip
Merge pull request #3116 from fjl/release/1.4v1.4.17
Backport TxPool limits to release/1.4
Diffstat (limited to 'eth/protocol_test.go')
-rw-r--r--eth/protocol_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/protocol_test.go b/eth/protocol_test.go
index 4633344da..0aac19f43 100644
--- a/eth/protocol_test.go
+++ b/eth/protocol_test.go
@@ -130,7 +130,7 @@ func testSendTransactions(t *testing.T, protocol int) {
for nonce := range alltxs {
alltxs[nonce] = newTestTransaction(testAccount, uint64(nonce), txsize)
}
- pm.txpool.AddTransactions(alltxs)
+ pm.txpool.AddBatch(alltxs)
// Connect several peers. They should all receive the pending transactions.
var wg sync.WaitGroup