From 92fbed3d728879f1cffead935f60984aa3996dd3 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Fri, 27 Aug 2021 09:36:12 +0700 Subject: [PATCH] add state check assert routine --- txpool/pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/txpool/pool.go b/txpool/pool.go index 918e079b8..72346b616 100644 --- a/txpool/pool.go +++ b/txpool/pool.go @@ -1007,7 +1007,7 @@ func (p *TxPool) flush(tx kv.RwTx, senders *SendersCache) error { } counts := map[uint64]uint64{} - tx.ForEach(kv.PooledSenderID, nil, func(k, v []byte) error { + tx.ForEach(kv.PooledSenderIDToAdress, nil, func(k, v []byte) error { id := binary.BigEndian.Uint64(k) count := p.txNonce2Tx.count(id) _, ok := counts[count]