feat(PR977): Support omitting members in the send_join response

This commit is contained in:
nexy7574
2025-09-03 14:20:50 +01:00
parent 6cf3c839e4
commit 2cdccbf2fe
2 changed files with 80 additions and 19 deletions
+1 -1
View File
@@ -452,7 +452,7 @@ async fn get_statediff(&self, shortstatehash: ShortStateHash) -> Result<StateDif
.ok()
.take_if(|parent| *parent != 0);
debug_assert!(value.len() % STRIDE == 0, "value not aligned to stride");
debug_assert!(value.len().is_multiple_of(STRIDE), "value not aligned to stride");
let _num_values = value.len() / STRIDE;
let mut add_mode = true;