Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
georgehao committed Oct 21, 2024
1 parent bc1cd00 commit c012c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tx_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -1774,7 +1774,7 @@ func (pool *TxPool) calculateTxsLifecycle(txs types.Transactions, t time.Time) {
if tx.Time().Before(t) {
txLifecycle := t.Sub(tx.Time())
if txLifecycle >= time.Minute*30 {
log.Warn("calculate tx life cycle, cost over 30 minutes", "tx", tx.Hash().String())
log.Warn("calculate tx life cycle, cost over 30 minutes", "tx", tx.Hash().String(), "txLifecycle(s)", txLifecycle.Seconds())
}
txLifecycleTimer.Update(txLifecycle)
}
Expand Down

0 comments on commit c012c43

Please sign in to comment.