Skip to content

Commit 1d50739

Browse files
committed
refactor(common, protocol-config, signer): update comments
1 parent e28d896 commit 1d50739

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

mithril-aggregator/src/services/message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub trait MessageService: Sync + Send {
3535
allowed_discriminants: BTreeSet<SignedEntityTypeDiscriminants>,
3636
) -> StdResult<EpochSettingsMessage>;
3737

38-
///Return the protocol configuration message for the given epoch if it exists.
38+
/// Return the protocol configuration message for the given epoch if it exists.
3939
async fn get_protocol_configuration_message(
4040
&self,
4141
epoch: Epoch,

mithril-common/src/messages/protocol_configuration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ use crate::entities::{
99
/// ProtocolConfiguration represents the protocol configuration of an epoch
1010
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
1111
pub struct ProtocolConfigurationMessage {
12-
/// Signer Registration Protocol parameters
12+
/// Protocol parameters
1313
pub protocol_parameters: ProtocolParameters,
1414

15-
/// Cardano transactions signing configuration for the current epoch
15+
/// Cardano transactions signing configuration
1616
#[serde(skip_serializing_if = "Option::is_none")]
1717
pub cardano_transactions_signing_config: Option<CardanoTransactionsSigningConfig>,
1818

mithril-signer/src/entities/signer_epoch_settings.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use mithril_common::entities::{Epoch, Signer};
22

33
/// SignerEpochSettings represents the settings of an epoch
4-
/// TODO: rename SignerRegistration ? SignerRegistrationSettings ?
54
#[derive(Clone, Debug, PartialEq)]
65
pub struct SignerEpochSettings {
76
/// Current Epoch

0 commit comments

Comments
 (0)