Skip to content

Commit

Permalink
wallet: fixed typos; pool: minor jsdoc (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrfeasLitos authored and tuxcanfly committed Jul 4, 2018
1 parent 92ebbbd commit 208dcfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/net/pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -4203,7 +4203,6 @@ class BroadcastItem extends EventEmitter {

/**
* Add a job to be executed on ack, timeout, or reject.
* @returns {Promise}
*/

addJob(resolve, reject) {
Expand Down
4 changes: 2 additions & 2 deletions lib/wallet/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
*/

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 208dcfd

Please sign in to comment.