Skip to content

Commit 4099356

Browse files
committed
refactor(protocol-config): update comments
1 parent 2574939 commit 4099356

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/mithril-protocol-config/src/interface.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ use mithril_common::{StdResult, entities::Epoch};
55

66
use crate::model::MithrilNetworkConfiguration;
77

8-
/// A provider for the Mithril network configuration of the current epoch.
8+
/// A provider for the Mithril network configuration of the a given epoch.
99
#[async_trait]
1010
pub trait MithrilNetworkConfigurationProvider: Sync + Send {
11-
/// Get the Mithril network configuration for the current epoch.
11+
/// Get the Mithril network configuration for a given epoch.
1212
async fn get_network_configuration(
1313
&self,
1414
epoch: Epoch,

internal/mithril-protocol-config/src/model.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub struct MithrilNetworkConfiguration {
3636
//A epoch configuration
3737
#[derive(PartialEq, Clone, Debug)]
3838

39-
/// A epoch configuration
39+
/// A network configuration available for an epoch
4040
pub struct EpochConfiguration {
4141
/// Cryptographic protocol parameters (`k`, `m` and `phi_f`)
4242
pub protocol_parameters: ProtocolParameters,

0 commit comments

Comments
 (0)