From 0397bc18839dc528904a7c7787e1f7c14e74250e Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Sat, 28 Aug 2021 11:04:38 +0700 Subject: [PATCH] add state check assert routine --- txpool/pool.go | 1 + 1 file changed, 1 insertion(+) diff --git a/txpool/pool.go b/txpool/pool.go index 9852dc822..6f7678298 100644 --- a/txpool/pool.go +++ b/txpool/pool.go @@ -603,6 +603,7 @@ func (sc *SendersCache) flush(tx kv.RwTx, byNonce *ByNonce, sendersWithoutTransa fmt.Printf("not foundd: %d,%x,%x,%x\n", binary.BigEndian.Uint64(v[:8]), k, v, vv) fmt.Printf("aa: %x,%x,%x\n", k, v, vv) fmt.Printf("justDeleted: %d\n", justDeleted) + sc.printDebug("senders") panic("no-no") } return nil