From: Chris Duncan Date: Wed, 1 Jul 2026 07:32:56 +0000 (-0700) Subject: Formatting. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=2a22581970acc8f1b30644c3cbb4225b3d43e290;p=libnemo.git Formatting. --- diff --git a/src/lib/tools.ts b/src/lib/tools.ts index d88a34f..52e1a9c 100644 --- a/src/lib/tools.ts +++ b/src/lib/tools.ts @@ -112,7 +112,7 @@ export class Tools { * Signs an arbitrary string with a secret key using nano25519. The input data * is encoded as UTF-8 and can be up to 32 KiB in total. * - * @param {(string | ArrayBuffer | Bytes)} secretKey - 64-byte secret key + * @param {(string|ArrayBuffer|Bytes)} secretKey - 64-byte secret key * @param {string} input - Data to be signed * @returns {string} 64-byte hexadecimal signature */ @@ -138,7 +138,7 @@ export class Tools { * Collects the funds from a specified range of accounts in a wallet and sends * them all to a single recipient address. Hardware wallets are unsupported. * - * @param {(Rpc | string | URL)} rpc - RPC node information required to refresh accounts, calculate PoW, and process blocks + * @param {(Rpc|string|URL)} rpc - RPC node information required to refresh accounts, calculate PoW, and process blocks * @param {Wallet} wallet - Wallet from which to sweep funds * @param {string} recipient - Destination address for all swept funds * @param {number} [from=0] - Starting account index to sweep @@ -195,8 +195,8 @@ export class Tools { /** * Verifies the signature of an arbitrary string using a public key. * - * @param {(string | ArrayBuffer | Bytes)} publicKey - 32-byte hexadecimal public key - * @param {(string | ArrayBuffer | Bytes)} signature - 128-character hexadcimal signature + * @param {(string|ArrayBuffer|Bytes)} publicKey - 32-byte hexadecimal public key + * @param {(string|ArrayBuffer|Bytes)} signature - 128-character hexadcimal signature * @param {string} input - Data to be verified * @returns {boolean} True if the data was signed by the public key's matching private key */