remove commented-out code

This commit is contained in:
Charles Hall 2024-05-15 15:07:26 -07:00
parent d3b7eecaed
commit 0915aba44c
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
10 changed files with 0 additions and 81 deletions

View file

@ -605,28 +605,6 @@ impl KeyValueDatabase {
states_parents,
)?;
/*
let mut tmp = services().rooms.load_shortstatehash_info(&current_sstatehash)?;
let state = tmp.pop().unwrap();
println!(
"{}\t{}{:?}: {:?} + {:?} - {:?}",
current_room,
" ".repeat(tmp.len()),
utils::u64_from_bytes(&current_sstatehash).unwrap(),
tmp.last().map(|b| utils::u64_from_bytes(&b.0).unwrap()),
state
.2
.iter()
.map(|b| utils::u64_from_bytes(&b[size_of::<u64>()..]).unwrap())
.collect::<Vec<_>>(),
state
.3
.iter()
.map(|b| utils::u64_from_bytes(&b[size_of::<u64>()..]).unwrap())
.collect::<Vec<_>>()
);
*/
Ok::<_, Error>(())
};