add state check assert routine

This commit is contained in:
alex.sharov 2021-08-28 11:04:38 +07:00
parent 84be2290a6
commit 0397bc1883

View File

@ -603,6 +603,7 @@ func (sc *SendersCache) flush(tx kv.RwTx, byNonce *ByNonce, sendersWithoutTransa
fmt.Printf("not foundd: %d,%x,%x,%x\n", binary.BigEndian.Uint64(v[:8]), k, v, vv)
fmt.Printf("aa: %x,%x,%x\n", k, v, vv)
fmt.Printf("justDeleted: %d\n", justDeleted)
sc.printDebug("senders")
panic("no-no")
}
return nil