diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-07-05 21:51:55 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-07-05 21:51:55 +0800 |
commit | 48ee7f9de7da0455b80ee09f498dbce54127103a (patch) | |
tree | 1e16769e36f34efd5a22283b06e57e551ac948a0 /eth/protocol_test.go | |
parent | a633a2d7ea8aadb1d435679449d002de880fab30 (diff) | |
download | go-tangerine-48ee7f9de7da0455b80ee09f498dbce54127103a.tar go-tangerine-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.gz go-tangerine-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.bz2 go-tangerine-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.lz go-tangerine-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.xz go-tangerine-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.zst go-tangerine-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.go | 2 |
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 |