add state check assert routine

This commit is contained in:
alex.sharov 2021-08-27 16:41:34 +07:00
parent 937a19167b
commit 380c68fae7

View File

@ -629,6 +629,7 @@ func (sc *SendersCache) flush(tx kv.RwTx, byNonce *ByNonce, sendersWithoutTransa
if currentV != nil && bytes.Equal(currentV, encID) {
continue
}
fmt.Printf("Put: %d\n", id)
if err := tx.Put(kv.PooledSenderID, []byte(addr), encID); err != nil {
return err
}