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/handler.go | |
parent | a633a2d7ea8aadb1d435679449d002de880fab30 (diff) | |
download | dexon-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.gz dexon-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.zst dexon-48ee7f9de7da0455b80ee09f498dbce54127103a.zip |
core, eth, les: polish txpool API around local/remote txs
Diffstat (limited to 'eth/handler.go')
-rw-r--r-- | eth/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/handler.go b/eth/handler.go index 1af9e755b..29f332799 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -661,7 +661,7 @@ func (pm *ProtocolManager) handleMsg(p *peer) error { } p.MarkTransaction(tx.Hash()) } - pm.txpool.AddBatch(txs) + pm.txpool.AddRemotes(txs) default: return errResp(ErrInvalidMsgCode, "%v", msg.Code) |