aboutsummaryrefslogtreecommitdiffstats
path: root/eth/helper_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-07-10 17:43:23 +0800
committerGitHub <noreply@github.com>2017-07-10 17:43:23 +0800
commit4f7a38001f7137972303421a11d49b0745450a3a (patch)
tree0a486e90fd8cf7d2ab161610b79a2251483895c0 /eth/helper_test.go
parent65f0e905ddda9be97368839b67be5754b33a0eea (diff)
parent34ec9913f628180d0ace740abfe1362995879c93 (diff)
downloaddexon-4f7a38001f7137972303421a11d49b0745450a3a.tar
dexon-4f7a38001f7137972303421a11d49b0745450a3a.tar.gz
dexon-4f7a38001f7137972303421a11d49b0745450a3a.tar.bz2
dexon-4f7a38001f7137972303421a11d49b0745450a3a.tar.lz
dexon-4f7a38001f7137972303421a11d49b0745450a3a.tar.xz
dexon-4f7a38001f7137972303421a11d49b0745450a3a.tar.zst
dexon-4f7a38001f7137972303421a11d49b0745450a3a.zip
Merge pull request #14737 from holiman/txpool_localaccounts
Txpool localaccounts
Diffstat (limited to 'eth/helper_test.go')
-rw-r--r--eth/helper_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/helper_test.go b/eth/helper_test.go
index 0260b9d77..546478a3e 100644
--- a/eth/helper_test.go
+++ b/eth/helper_test.go
@@ -94,9 +94,9 @@ type testTxPool struct {
lock sync.RWMutex // Protects the transaction pool
}
-// AddBatch appends a batch of transactions to the pool, and notifies any
+// AddRemotes appends a batch of transactions to the pool, and notifies any
// listeners if the addition channel is non nil
-func (p *testTxPool) AddBatch(txs []*types.Transaction) error {
+func (p *testTxPool) AddRemotes(txs []*types.Transaction) error {
p.lock.Lock()
defer p.lock.Unlock()