File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -1533,17 +1533,14 @@ func (pool *TxPool) reset(oldHead, newHead *types.Header) {
15331533 }
15341534 reinject = types .TxDifference (discarded , included )
15351535
1536- if len (discarded ) > 0 {
1537- for _ , tx := range discarded {
1538- log .Debug ("TXPOOL_REORG: TX removed from old chain" , "hash" , tx .Hash ().Hex ())
1539- }
1536+ for _ , tx := range discarded {
1537+ log .Debug ("TXPOOL_REORG: TX removed from old chain" , "hash" , tx .Hash ().Hex ())
15401538 }
15411539
1542- if len (included ) > 0 {
1543- for _ , tx := range included {
1544- log .Debug ("TXPOOL_REORG: TX added in the chain" , "hash" , tx .Hash ().Hex ())
1545- }
1540+ for _ , tx := range included {
1541+ log .Debug ("TXPOOL_REORG: TX added in the chain" , "hash" , tx .Hash ().Hex ())
15461542 }
1543+
15471544 }
15481545 }
15491546 }
You can’t perform that action at this time.
0 commit comments