chore(crypto): Change the expect message for device key serialization

Co-authored-by: Benjamin Kampmann <ben.kampmann@gmail.com>
This commit is contained in:
Damir Jelić
2022-03-28 16:38:27 +02:00
parent 23040a1bf7
commit 105961a78d

View File

@@ -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