From: Chris Duncan Date: Mon, 25 Nov 2024 22:06:02 +0000 (-0800) Subject: Update imports for new nano-nacl filename. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=85423227434e0dbc7ac0cea0b3c8b43c61c5240d;p=libnemo.git Update imports for new nano-nacl filename. --- diff --git a/src/lib/account.ts b/src/lib/account.ts index ffc2f38..0fde3e8 100644 --- a/src/lib/account.ts +++ b/src/lib/account.ts @@ -6,7 +6,7 @@ import { ACCOUNT_KEY_LENGTH, ALPHABET, PREFIX, PREFIX_LEGACY } from './constants import { base32, bytes, hex } from './convert.js' import { Rpc } from './rpc.js' import { Safe } from './safe.js' -import * as Ed25519 from './workers/nano25519.js' +import * as Ed25519 from './workers/nacl-nano.js' /** * Represents a single Nano address and the associated public key. To include the diff --git a/src/lib/block.ts b/src/lib/block.ts index 5c381b0..af96d8a 100644 --- a/src/lib/block.ts +++ b/src/lib/block.ts @@ -6,7 +6,7 @@ import { Account } from './account.js' import { bytes, dec, hex } from './convert.js' import { Rpc } from './rpc.js' import Tools from './tools.js' -import * as Ed25519 from './workers/nano25519.js' +import * as Ed25519 from './workers/nacl-nano.js' /** * Represents a block as defined by the Nano cryptocurrency protocol. The Block diff --git a/src/lib/tools.ts b/src/lib/tools.ts index 153539b..854e353 100644 --- a/src/lib/tools.ts +++ b/src/lib/tools.ts @@ -8,7 +8,7 @@ import { bytes, hex } from './convert.js' import { Rpc } from './rpc.js' import { Bip44Wallet, Blake2bWallet, LedgerWallet } from './wallet.js' import { SendBlock } from './block.js' -import * as Ed25519 from './workers/nano25519.js' +import * as Ed25519 from './workers/nacl-nano.js' /** * Converts a decimal amount of nano from one unit divider to another.