Skip to content

Commit d58772c

Browse files
committed
Remove incorrect log
1 parent 7f232ce commit d58772c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

protocols/v2/roles-logic-sv2/src/parsers.rs

-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ use template_distribution_sv2::{
9292
CoinbaseOutputConstraints, NewTemplate, RequestTransactionData, RequestTransactionDataError,
9393
RequestTransactionDataSuccess, SetNewPrevHash, SubmitSolution,
9494
};
95-
use tracing::error;
9695

9796
/// Converts a message type number to a human-readable name
9897
pub fn message_type_to_name(msg_type: u8) -> &'static str {
@@ -931,7 +930,6 @@ impl TryFrom<u8> for MiningTypes {
931930
MESSAGE_TYPE_UPDATE_CHANNEL_ERROR => Ok(MiningTypes::UpdateChannelError),
932931
MESSAGE_TYPE_SETUP_CONNECTION => Err(Error::UnexpectedMessage(v)),
933932
_ => {
934-
error!("Invalid message type: {}", v);
935933
Err(Error::UnexpectedMessage(v))
936934
}
937935
}

0 commit comments

Comments
 (0)