Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
temaniarpit27 committed Nov 9, 2023
1 parent bee537a commit 1bed05a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/txpool/txpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1bed05a

Please sign in to comment.