fix: large value_data length in api crashes server

This commit is contained in:
Cheradenine Zakalwe
2023-08-22 19:00:49 +00:00
committed by Christien Rioux
parent 513116e672
commit 0ce19d85fa
4 changed files with 51 additions and 11 deletions

View File

@@ -207,6 +207,6 @@ pub fn fix_veilidvaluechange() -> VeilidValueChange {
key: fix_typedkey(),
subkeys: vec![1, 2, 3, 4],
count: 5,
value: ValueData::new_with_seq(23, b"ValueData".to_vec(), fix_cryptokey()),
value: ValueData::new_with_seq(23, b"ValueData".to_vec(), fix_cryptokey()).unwrap(),
}
}