Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Maciej Zwoliński <[email protected]>
Signed-off-by: Mikołaj Florkiewicz <[email protected]>
  • Loading branch information
fl0rek and zvolin authored Dec 13, 2024
1 parent 8708c04 commit 8203185
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/src/blob/commitment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ use crate::{InfoByte, Share};
#[cfg_attr(all(feature = "wasm-bindgen", target_arch = "wasm32"), wasm_bindgen)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
pub struct Commitment {
/// hash of the commitment
/// Hash of the commitment
hash: merkle::Hash,
}

Expand Down Expand Up @@ -115,7 +115,7 @@ impl Commitment {
Ok(Commitment { hash })
}

/// hash of the commitment
/// Hash of the commitment
pub fn hash(&self) -> &merkle::Hash {
&self.hash
}
Expand Down

0 comments on commit 8203185

Please sign in to comment.