aboutsummaryrefslogtreecommitdiffstats
path: root/eth/handler.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-10-10 22:19:05 +0800
committerGitHub <noreply@github.com>2016-10-10 22:19:05 +0800
commit5a6008e004a6611d7a478495d083eaf26e52c5f1 (patch)
tree9986a1f364306b8a09234125d623d99b4c56d098 /eth/handler.go
parent4fced0972d9bf2802cb9c3eb16cedc79c9dd60a1 (diff)
parentabaa56fea59f38fcea4fb6a7537074dbe845cf51 (diff)
downloadgo-tangerine-1.4.17.tar
go-tangerine-1.4.17.tar.gz
go-tangerine-1.4.17.tar.bz2
go-tangerine-1.4.17.tar.lz
go-tangerine-1.4.17.tar.xz
go-tangerine-1.4.17.tar.zst
go-tangerine-1.4.17.zip
Merge pull request #3116 from fjl/release/1.4v1.4.17
Backport TxPool limits to release/1.4
Diffstat (limited to 'eth/handler.go')
-rw-r--r--eth/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/handler.go b/eth/handler.go
index ca73a7d54..89418c0df 100644
--- a/eth/handler.go
+++ b/eth/handler.go
@@ -689,7 +689,7 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
}
p.MarkTransaction(tx.Hash())
}
- pm.txpool.AddTransactions(txs)
+ pm.txpool.AddBatch(txs)
default:
return errResp(ErrInvalidMsgCode, "%v", msg.Code)