Skip to content

Commit 722692d

Browse files
committed
fix: comment
1 parent 761adca commit 722692d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mempool/cat/pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ func (txmp *TxPool) Update(
570570
txKey := tx.Key()
571571
wtx := txmp.store.get(txKey)
572572
txmp.removeTxByKey(txKey)
573-
// Record user-submitted tx latency before removal
573+
// Record user-submitted tx latency = block receive time - tx receive time
574574
if wtx != nil && wtx.fromBroadcast {
575575
txmp.metrics.UserTxLatency.Observe(time.Since(wtx.timestamp).Seconds())
576576
}

0 commit comments

Comments
 (0)