crypto: Don't log an error for the commitment calculation since it isn't one

master
Damir Jelić 2021-01-14 13:32:39 +01:00
parent 9efece4f7a
commit 3f3ae794a4
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ use matrix_sdk_common::{
identifiers::{DeviceId, EventId, RoomId, UserId}, identifiers::{DeviceId, EventId, RoomId, UserId},
uuid::Uuid, uuid::Uuid,
}; };
use tracing::error; use tracing::info;
use super::{ use super::{
event_enums::{ event_enums::{
@ -495,7 +495,7 @@ impl SasState<Started> {
let pubkey = sas.public_key(); let pubkey = sas.public_key();
let commitment = calculate_commitment(&pubkey, content.clone()); let commitment = calculate_commitment(&pubkey, content.clone());
error!( info!(
"Calculated commitment for pubkey {} and content {:?} {}", "Calculated commitment for pubkey {} and content {:?} {}",
pubkey, content, commitment pubkey, content, commitment
); );