wallet: fixed typos; pool: minor jsdoc (#511)

This commit is contained in:
Orfeas Stefanos Thyfronitis Litos 2018-07-04 13:13:01 +01:00 committed by Javed Khan
parent 92ebbbdde7
commit 208dcfd1d5
No known key found for this signature in database
GPG Key ID: 7E31745B904584E6
2 changed files with 2 additions and 3 deletions

View File

@ -4203,7 +4203,6 @@ class BroadcastItem extends EventEmitter {
/** /**
* Add a job to be executed on ack, timeout, or reject. * Add a job to be executed on ack, timeout, or reject.
* @returns {Promise}
*/ */
addJob(resolve, reject) { addJob(resolve, reject) {

View File

@ -815,7 +815,7 @@ class Wallet extends EventEmitter {
* Create a new address (increments depth) without a lock. * Create a new address (increments depth) without a lock.
* @private * @private
* @param {(Number|String)?} acct * @param {(Number|String)?} acct
* @param {Number} branche * @param {Number} branch
* @returns {Promise} - Returns {@link WalletKey}. * @returns {Promise} - Returns {@link WalletKey}.
*/ */
@ -2019,7 +2019,7 @@ class Wallet extends EventEmitter {
if (this.txdb.isLocked(coin)) if (this.txdb.isLocked(coin))
continue; continue;
// Always used confirmed coins. // Always use confirmed coins.
if (coin.height !== -1) { if (coin.height !== -1) {
coins.push(coin); coins.push(coin);
continue; continue;