From dc671f35f250f496d9d62ea04ca08eb1418e49c9 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Sat, 28 Aug 2021 09:52:04 +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 5ae46bc55..016fbeb8a 100644 --- a/txpool/pool.go +++ b/txpool/pool.go @@ -539,7 +539,7 @@ func (sc *SendersCache) flush(tx kv.RwTx, byNonce *ByNonce, sendersWithoutTransa } if len(encIDs) > 0 { if err := tx.Append(kv.PoolStateEviction, encID, encIDs); err != nil { - return err + return evicted, err } }