Merge pull request #517 from tuxcanfly/orfeas-fix-typos

wallet: fixed typos; pool: minor jsdoc (#511)
This commit is contained in:
Christopher Jeffrey (JJ) 2018-07-04 15:34:39 -07:00 committed by GitHub
commit 575cce78e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.
* @returns {Promise}
*/
addJob(resolve, reject) {

View File

@ -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;