From 208dcfd1d553743b60766aa73c319fd9525b1a12 Mon Sep 17 00:00:00 2001 From: Orfeas Stefanos Thyfronitis Litos <18602747+OrfeasLitos@users.noreply.github.com> Date: Wed, 4 Jul 2018 13:13:01 +0100 Subject: [PATCH] wallet: fixed typos; pool: minor jsdoc (#511) --- lib/net/pool.js | 1 - lib/wallet/wallet.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/net/pool.js b/lib/net/pool.js index aedeffc1..b3597d65 100644 --- a/lib/net/pool.js +++ b/lib/net/pool.js @@ -4203,7 +4203,6 @@ class BroadcastItem extends EventEmitter { /** * Add a job to be executed on ack, timeout, or reject. - * @returns {Promise} */ addJob(resolve, reject) { diff --git a/lib/wallet/wallet.js b/lib/wallet/wallet.js index 065b8468..608b8fd5 100644 --- a/lib/wallet/wallet.js +++ b/lib/wallet/wallet.js @@ -815,7 +815,7 @@ class Wallet extends EventEmitter { * Create a new address (increments depth) without a lock. * @private * @param {(Number|String)?} acct - * @param {Number} branche + * @param {Number} branch * @returns {Promise} - Returns {@link WalletKey}. */ @@ -2019,7 +2019,7 @@ class Wallet extends EventEmitter { if (this.txdb.isLocked(coin)) continue; - // Always used confirmed coins. + // Always use confirmed coins. if (coin.height !== -1) { coins.push(coin); continue;