Commit a0fea73d authored by Ranadeep Biswas's avatar Ranadeep Biswas
Browse files

Fix serialization code

parent dc0c94a0
......@@ -337,9 +337,9 @@ impl Chains {
for (&x, &rf_txn) in rd_info.iter() {
let mut s = HashSet::new();
last_wr.insert(x, (rf_txn, s));
let ent = last_wr.entry(x).or_insert_with(|| (rf_txn, HashSet::new()));
assert_eq!(ent.0, rf_txn);
if let Some(it) = self.vis_closure.forward_edge.get(&cand) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment