]> zoso.dev Git - libnemo.git/commitdiff
Use customized blake implementation and start trying to reoptimize it since it's...
authorChris Duncan <chris@zoso.dev>
Wed, 27 Nov 2024 21:33:11 +0000 (13:33 -0800)
committerChris Duncan <chris@zoso.dev>
Wed, 27 Nov 2024 21:33:11 +0000 (13:33 -0800)
src/lib/tools.ts
src/lib/workers/nacl-nano.ts

index b70fad166ccdba4b072632d84f40a250ef10d64f..8ad449e45ea4dd25fb20b234377f49e787b66da0 100644 (file)
@@ -1,8 +1,8 @@
 // SPDX-FileCopyrightText: 2024 Chris Duncan <chris@zoso.dev>
 // SPDX-License-Identifier: GPL-3.0-or-later
 
-import blake2b from 'blake2b'
 import { Account } from './account.js'
+import { blake2b } from './blake2b.js'
 import { UNITS } from './constants.js'
 import { bytes, hex } from './convert.js'
 import { Rpc } from './rpc.js'
index f800f94bb0be04fe9312f246c9a02498c866e6c4..9805cfd7a1aa87d8143611e34ff1c34bd2d82645 100644 (file)
@@ -1,7 +1,7 @@
 // SPDX-FileCopyrightText: 2024 Chris Duncan <chris@zoso.dev>\r
 // SPDX-License-Identifier: GPL-3.0-or-later\r
 //@ts-nocheck\r
-import blake2b from 'blake2b'\r
+import blake2b from './blake2b.js'\r
 \r
 'use strict';\r
 \r