Skip to content

Commit c4b3696

Browse files
author
colinlyguo
committed
tweak
1 parent a86f3ed commit c4b3696

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/tx_pool.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ func (pool *TxPool) loop() {
435435
pool.requestReset(head.Header(), ev.Block.Header())
436436
head = ev.Block
437437
for _, tx := range head.Transactions() {
438-
log.Debug("tx added in the chain", "hash", tx.Hash().Hex())
438+
log.Debug("TX is included in a block", "hash", tx.Hash().Hex())
439439
}
440440
}
441441

@@ -1537,7 +1537,7 @@ func (pool *TxPool) reset(oldHead, newHead *types.Header) {
15371537
reinject = types.TxDifference(discarded, included)
15381538

15391539
for _, tx := range reinject {
1540-
log.Debug("tx removed from old chain due to reorg", "hash", tx.Hash().Hex())
1540+
log.Debug("TX is removed from old chain due to reorg", "hash", tx.Hash().Hex())
15411541
}
15421542
}
15431543
}

0 commit comments

Comments
 (0)