just format

This commit is contained in:
Alex Gleason
2023-08-31 13:42:15 -05:00
parent 2a70bb18ff
commit 718032022c
55 changed files with 930 additions and 1488 deletions

View File

@@ -1,4 +1,4 @@
import {hexToBytes} from '@noble/hashes/utils'
import { hexToBytes } from '@noble/hashes/utils'
/** Get POW difficulty from a Nostr hex ID. */
export function getPow(id: string): number {
@@ -34,7 +34,7 @@ function msb(b: number) {
}
// eslint-disable-next-line no-cond-assign
while (b >>= 1) {
while ((b >>= 1)) {
n++
}