From 536234e0c3686bb816eb81e148b711de98fab675 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Fri, 27 Aug 2021 09:10:56 +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 042e733d4..18a87aee1 100644 --- a/txpool/pool.go +++ b/txpool/pool.go @@ -1666,7 +1666,7 @@ func (p *TxPool) forceCheckState(ctx context.Context, db, coreDB kv.RoDB) error if remoteProgress != p.senders.blockHeight.Load() { // skip return nil } - v2, err := coreTx.GetOne(kv.PooledSender, k) + v2, err := coreTx.GetOne(kv.PlainState, k) if err != nil { return err }