mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
eth: fixup per-peer metrics
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
d8dd9d4c20
commit
265f1224c1
1 changed files with 0 additions and 1 deletions
|
|
@ -310,7 +310,6 @@ func (f *TxFetcher) isKnownUnderpriced(hash common.Hash) bool {
|
|||
// direct request replies. The differentiation is important so the fetcher can
|
||||
// re-schedule missing transactions as soon as possible.
|
||||
func (f *TxFetcher) Enqueue(peer string, txs []*types.Transaction, direct bool) error {
|
||||
// TODO: add peer metrics here
|
||||
var (
|
||||
inMeter = txReplyInMeter
|
||||
knownMeter = txReplyKnownMeter
|
||||
|
|
|
|||
Loading…
Reference in a new issue