Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/friends' into friends
Browse files Browse the repository at this point in the history
  • Loading branch information
Shengtong Zhang committed Jun 29, 2022
2 parents 17eddff + 826873c commit dcd6d85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions daemon/db/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,10 @@ impl DB {
}
}

// ack_index must always be >= 0
let ack_index_count = transmission::table.filter(transmission::ack_index.lt(0)).count().get_result::<i64>(conn_b).unwrap();
assert!(ack_index_count == 0, "ack_index_count = {}", ack_index_count);


Ok(())
})
Expand Down

0 comments on commit dcd6d85

Please sign in to comment.