From 1bed05a59e1667f0298564d805ab2d38689e4b8d Mon Sep 17 00:00:00 2001 From: Arpit Temani Date: Thu, 9 Nov 2023 22:06:08 +0530 Subject: [PATCH] test --- core/txpool/txpool.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/txpool/txpool.go b/core/txpool/txpool.go index b0e91fee6c..2d015e2964 100644 --- a/core/txpool/txpool.go +++ b/core/txpool/txpool.go @@ -200,7 +200,9 @@ func (p *TxPool) loop(head *types.Header, chain BlockChain) { case resetBusy <- struct{}{}: // Busy marker injected, start a new subpool reset go func(oldHead, newHead *types.Header) { + fmt.Println("-------------- subpools length", len(p.subpools)) for _, subpool := range p.subpools { + fmt.Println("--------------- in subpools", subpool) subpool.Reset(oldHead, newHead) } resetDone <- newHead