Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan authored Aug 22, 2024
1 parent fe22c04 commit 90199cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion noir-projects/aztec-nr/aztec/src/keys/public_keys.nr
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl Serialize<POINT_LENGTH> for NpkM {
}
}

// Note: If we store npk_m_hash directly we can remove this trait implementation
// Note: If we store npk_m_hash directly we can remove this trait implementation. See #8091
impl Hash for NpkM {
fn hash(self) -> Field {
self.inner.hash()
Expand Down
1 change: 1 addition & 0 deletions yarn-project/foundation/src/fields/point.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ export class Point {
/* eslint-enable camelcase */
}

// Used for IvpkM, OvpkM, NpkM and TpkM
toWrappedNoirStruct() {
/* eslint-disable camelcase */
return { inner: this.toNoirStruct() };
Expand Down

0 comments on commit 90199cf

Please sign in to comment.