mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-17 04:58:41 -04:00
chore(crypto): Change the expect message for device key serialization
Co-authored-by: Benjamin Kampmann <ben.kampmann@gmail.com>
This commit is contained in:
@@ -745,7 +745,7 @@ impl ReadOnlyAccount {
|
||||
// Create a copy of the device keys containing only fields that will
|
||||
// get signed.
|
||||
let json_device_keys =
|
||||
serde_json::to_value(&device_keys).expect("Can't serialize device keys");
|
||||
serde_json::to_value(&device_keys).expect("device key is always safe to serialize");
|
||||
|
||||
device_keys
|
||||
.signatures
|
||||
|
||||
Reference in New Issue
Block a user