Merge pull request #169 from dionyziz/fix_promise_docs
Pool.hasTX does not return promise
This commit is contained in:
commit
a3b0d10c30
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user