From 3f3ae794a402543a78dd51876d58fb193698e7e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Thu, 14 Jan 2021 13:32:39 +0100 Subject: [PATCH] crypto: Don't log an error for the commitment calculation since it isn't one --- matrix_sdk_crypto/src/verification/sas/sas_state.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix_sdk_crypto/src/verification/sas/sas_state.rs b/matrix_sdk_crypto/src/verification/sas/sas_state.rs index ae65d7e5..2c7bf4fb 100644 --- a/matrix_sdk_crypto/src/verification/sas/sas_state.rs +++ b/matrix_sdk_crypto/src/verification/sas/sas_state.rs @@ -40,7 +40,7 @@ use matrix_sdk_common::{ identifiers::{DeviceId, EventId, RoomId, UserId}, uuid::Uuid, }; -use tracing::error; +use tracing::info; use super::{ event_enums::{ @@ -495,7 +495,7 @@ impl SasState { let pubkey = sas.public_key(); let commitment = calculate_commitment(&pubkey, content.clone()); - error!( + info!( "Calculated commitment for pubkey {} and content {:?} {}", pubkey, content, commitment );