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/helper_test.go | |
parent | a633a2d7ea8aadb1d435679449d002de880fab30 (diff) | |
download | dexon-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/helper_test.go')
-rw-r--r-- | eth/helper_test.go | 4 |
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() |