Skip to content

Commit c012c43

Browse files
committed
address comment
1 parent bc1cd00 commit c012c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/tx_pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@ func (pool *TxPool) calculateTxsLifecycle(txs types.Transactions, t time.Time) {
17741774
if tx.Time().Before(t) {
17751775
txLifecycle := t.Sub(tx.Time())
17761776
if txLifecycle >= time.Minute*30 {
1777-
log.Warn("calculate tx life cycle, cost over 30 minutes", "tx", tx.Hash().String())
1777+
log.Warn("calculate tx life cycle, cost over 30 minutes", "tx", tx.Hash().String(), "txLifecycle(s)", txLifecycle.Seconds())
17781778
}
17791779
txLifecycleTimer.Update(txLifecycle)
17801780
}

0 commit comments

Comments
 (0)