Skip to content

Commit 8961a54

Browse files
Fix lint
1 parent 6cbed7a commit 8961a54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/hashing.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ export async function sha256(bytes: Uint8Array): Promise<Uint8Array> {
1717
globalThis.crypto.subtle?.digest
1818
) {
1919
// eslint-disable-next-line no-restricted-globals
20-
return new Uint8Array(await globalThis.crypto.subtle.digest('SHA-256', bytes));
20+
return new Uint8Array(
21+
await globalThis.crypto.subtle.digest('SHA-256', bytes),
22+
);
2123
}
2224
return nobleSha256(bytes);
2325
}

0 commit comments

Comments
 (0)