Merge pull request #517 from tuxcanfly/orfeas-fix-typos
wallet: fixed typos; pool: minor jsdoc (#511)
This commit is contained in:
commit
575cce78e4
@ -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) {
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user