aboutsummaryrefslogtreecommitdiffstats
path: root/eth/protocol_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-07-05 21:51:55 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-07-05 21:51:55 +0800
commit48ee7f9de7da0455b80ee09f498dbce54127103a (patch)
tree1e16769e36f34efd5a22283b06e57e551ac948a0 /eth/protocol_test.go
parenta633a2d7ea8aadb1d435679449d002de880fab30 (diff)
downloaddexon-48ee7f9de7da0455b80ee09f498dbce54127103a.tar
dexon-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.gz
dexon-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.bz2
dexon-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.lz
dexon-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.xz
dexon-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.zst
dexon-48ee7f9de7da0455b80ee09f498dbce54127103a.zip
core, eth, les: polish txpool API around local/remote txs
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 2056ee0a8..d3a44ae91 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.AddBatch(alltxs)
+ pm.txpool.AddRemotes(alltxs)
// Connect several peers. They should all receive the pending transactions.
var wg sync.WaitGroup