Skip to content

Commit 71de39f

Browse files
mkleenegithub-actions[bot]
authored andcommitted
🤖 🎨 Autoformat
1 parent 060571c commit 71de39f

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)