File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -434,6 +434,9 @@ func (pool *TxPool) loop() {
434434 if ev .Block != nil {
435435 pool .requestReset (head .Header (), ev .Block .Header ())
436436 head = ev .Block
437+ for _ , tx := range head .Transactions () {
438+ log .Debug ("TX is included in a block" , "hash" , tx .Hash ().Hex ())
439+ }
437440 }
438441
439442 // System shutdown.
@@ -1533,14 +1536,9 @@ func (pool *TxPool) reset(oldHead, newHead *types.Header) {
15331536 }
15341537 reinject = types .TxDifference (discarded , included )
15351538
1536- for _ , tx := range discarded {
1537- log .Debug ("TXPOOL_REORG: TX removed from old chain" , "hash" , tx .Hash ().Hex ())
1538- }
1539-
1540- for _ , tx := range included {
1541- log .Debug ("TXPOOL_REORG: TX added in the chain" , "hash" , tx .Hash ().Hex ())
1539+ for _ , tx := range reinject {
1540+ log .Debug ("TX is removed from old chain due to reorg" , "hash" , tx .Hash ().Hex ())
15421541 }
1543-
15441542 }
15451543 }
15461544 }
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
2424const (
2525 VersionMajor = 5 // Major version component of the current release
2626 VersionMinor = 8 // Minor version component of the current release
27- VersionPatch = 37 // Patch version component of the current release
27+ VersionPatch = 38 // Patch version component of the current release
2828 VersionMeta = "mainnet" // Version metadata to append to the version string
2929)
3030
You can’t perform that action at this time.
0 commit comments