From fbdcb04687ab566fd077ba75e768442b589c3918 Mon Sep 17 00:00:00 2001 From: Arthur Abeilice Date: Wed, 27 Nov 2024 17:08:17 +0700 Subject: [PATCH] feat(txpool): enhance logging for transaction replacement attempts --- zk/txpool/pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zk/txpool/pool.go b/zk/txpool/pool.go index d407779b89c..9c31835af7a 100644 --- a/zk/txpool/pool.go +++ b/zk/txpool/pool.go @@ -1196,7 +1196,7 @@ func (p *TxPool) addLocked(mt *metaTx, announcements *types.Announcements) Disca if bytes.Equal(found.Tx.IDHash[:], mt.Tx.IDHash[:]) { return NotSet } - log.Info(fmt.Sprintf("Transaction %s was attempted")) + log.Info(fmt.Sprintf("Transaction %s was attempted to be replaced.", hex.EncodeToString(mt.Tx.IDHash[:]))) return NotReplaced }