Skip to content

Commit a0485ca

Browse files
committed
do not include this property
Signed-off-by: Morgan Kleene <[email protected]>
1 parent 060571c commit a0485ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/tdf3/src/assertions.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ export type AssertionPayload = {
4343
* @returns the hexadecimal string representation of the hash
4444
*/
4545
export async function hash(a: Assertion): Promise<string> {
46-
const result = canonicalizeEx(a, { exclude: ['binding', 'hash', 'sign', 'verify', 'signingKey'] });
46+
const result = canonicalizeEx(a, {
47+
exclude: ['binding', 'hash', 'sign', 'verify', 'signingKey'],
48+
});
4749

4850
const hash = await crypto.subtle.digest('SHA-256', new TextEncoder().encode(result));
4951
return hex.encodeArrayBuffer(hash);

0 commit comments

Comments
 (0)