From 7ed9ddbf38d3f6be50f347bf9882f529761a4092 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Fri, 27 Aug 2021 16:36:44 +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 34d824603..980e3c305 100644 --- a/txpool/pool.go +++ b/txpool/pool.go @@ -1128,7 +1128,7 @@ func (p *TxPool) fromDB(ctx context.Context, tx kv.RwTx, coreTx kv.Tx) error { } if len(vv) == 0 { tx.ForEach(kv.PooledSenderIDToAdress, nil, func(kkk, vvvv []byte) error { - if bytes.HasPrefix(kkk, v[:7]) { + if bytes.HasPrefix(kkk, v[:6]) { fmt.Printf("found:%x,%x\n", kkk, vvvv) } return nil