add state check assert routine

This commit is contained in:
alex.sharov 2021-08-27 10:26:25 +07:00
parent fe00a55513
commit 90fc042d5d

View File

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