Update tests for new PreKeyBundle::new signature

This commit is contained in:
Jack Lloyd
2021-01-28 16:58:30 -05:00
parent d77fa218a2
commit 25cfaab480
2 changed files with 17 additions and 26 deletions

View File

@@ -72,8 +72,7 @@ pub async fn create_pre_key_bundle<R: Rng + CryptoRng>(
let pre_key_bundle = PreKeyBundle::new(
store.get_local_registration_id(None).await?,
device_id,
Some(pre_key_id),
Some(pre_key_pair.public_key),
Some((pre_key_id, pre_key_pair.public_key)),
signed_pre_key_id,
signed_pre_key_pair.public_key,
signed_pre_key_signature.to_vec(),