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() {
434
434
if ev .Block != nil {
435
435
pool .requestReset (head .Header (), ev .Block .Header ())
436
436
head = ev .Block
437
+ for _ , tx := range head .Transactions () {
438
+ log .Debug ("TX is included in a block" , "hash" , tx .Hash ().Hex ())
439
+ }
437
440
}
438
441
439
442
// System shutdown.
@@ -1533,14 +1536,9 @@ func (pool *TxPool) reset(oldHead, newHead *types.Header) {
1533
1536
}
1534
1537
reinject = types .TxDifference (discarded , included )
1535
1538
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 ())
1542
1541
}
1543
-
1544
1542
}
1545
1543
}
1546
1544
}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
24
24
const (
25
25
VersionMajor = 5 // Major version component of the current release
26
26
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
28
28
VersionMeta = "mainnet" // Version metadata to append to the version string
29
29
)
30
30
You can’t perform that action at this time.
0 commit comments