Merge pull request #169 from dionyziz/fix_promise_docs

Pool.hasTX does not return promise
This commit is contained in:
Christopher Jeffrey (JJ) 2017-05-12 15:47:31 -07:00 committed by GitHub
commit a3b0d10c30

View File

@ -3490,7 +3490,7 @@ Pool.prototype.hasBlock = co(function* hasBlock(hash) {
/**
* Test whether the mempool has or has seen an item.
* @param {Hash} hash
* @returns {Promise} - Returns Boolean.
* @returns {Boolean}
*/
Pool.prototype.hasTX = function hasTX(hash) {