Pool.hasTX does not return promise

This commit is contained in:
Dionysis Zindros 2017-03-18 19:20:28 +02:00
parent f778a8c1b5
commit 6d274a1988

View File

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