Skip to content

Commit

Permalink
Fix erroneous comments (#2581)
Browse files Browse the repository at this point in the history
The errors in the comments were introduced in #2578.
  • Loading branch information
Frederik Rothenberger authored Sep 2, 2024
1 parent 6bcad06 commit 719a8f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/src/storage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ const computePrincipalDigest = async ({
const principal = enc.encode(principal_);
const principalLen = Uint8Array.from([principal_.length]);

// Create a buffer with all four elements
// Create a buffer with all elements
const buff = concatUint8Arrays([principal, principalLen]);

// Create the digest
Expand Down Expand Up @@ -391,7 +391,7 @@ const computeOriginDigest = async ({
const origin = enc.encode(origin_);
const originLen = Uint8Array.from([origin_.length]);

// Create a buffer with all four elements
// Create a buffer with all elements
const buff = concatUint8Arrays([origin, originLen]);

// Create the digest
Expand Down

0 comments on commit 719a8f9

Please sign in to comment.