Skip to content

Commit af6f3c5

Browse files
committed
Remove incorrect log
1 parent ca8bee2 commit af6f3c5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

+1-5
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 {
@@ -930,10 +929,7 @@ impl TryFrom<u8> for MiningTypes {
930929
MESSAGE_TYPE_UPDATE_CHANNEL => Ok(MiningTypes::UpdateChannel),
931930
MESSAGE_TYPE_UPDATE_CHANNEL_ERROR => Ok(MiningTypes::UpdateChannelError),
932931
MESSAGE_TYPE_SETUP_CONNECTION => Err(Error::UnexpectedMessage(v)),
933-
_ => {
934-
error!("Invalid message type: {}", v);
935-
Err(Error::UnexpectedMessage(v))
936-
}
932+
_ => Err(Error::UnexpectedMessage(v)),
937933
}
938934
}
939935
}

0 commit comments

Comments
 (0)