Skip to content

Commit 9c29469

Browse files
committed
Fix PR reviews remarks: enhance code doc
1 parent f2611bb commit 9c29469

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

mithril-common/src/entities/single_signatures.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub struct SingleSignatures {
2323

2424
/// Message that is signed by the signer
2525
///
26-
/// Used to buffer the signature for later if the Aggregator has yet to create an open message
26+
/// Used to buffer the signature for later if the aggregator has yet to create an open message
2727
/// for the signed entity type.
2828
#[serde(skip_serializing_if = "Option::is_none")]
2929
pub signed_message: Option<String>,

mithril-common/src/messages/register_signature.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub struct RegisterSignatureMessage {
2424

2525
/// Message that is signed by the signer
2626
///
27-
/// Used to buffer the signature for later if the Aggregator has yet to create an open message
27+
/// Used to buffer the signature for later if the aggregator has yet to create an open message
2828
/// for the signed entity type.
2929
#[serde(skip_serializing_if = "Option::is_none")]
3030
pub signed_message: Option<String>,

openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,8 +1072,8 @@ components:
10721072
description: |
10731073
Hash of the protocol message that is signed by the signer
10741074
1075-
Optional, allow the aggregator to store this signature for later if it has yet to start to work
1076-
on the message.
1075+
Optional, allows the aggregator to store this signature for later if it has yet to start aggregating
1076+
signatures for the message.
10771077
type: string
10781078
format: bytes
10791079
example:

0 commit comments

Comments
 (0)