pool: minor.

This commit is contained in:
Christopher Jeffrey 2016-11-25 14:13:36 -08:00
parent 6c25efca89
commit 0dbdf30e89
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1596,7 +1596,7 @@ Pool.prototype.hasBlock = co(function* hasBlock(hash) {
* @returns {Promise}
*/
Pool.prototype.getTX = function getTX(peer, hash) {
Pool.prototype.getTX = co(function* getTX(peer, hash) {
var self = this;
var item;
@ -1627,7 +1627,7 @@ Pool.prototype.getTX = function getTX(peer, hash) {
peer.queueTX.push(item.start());
return false;
};
});
/**
* Test whether the mempool has or has seen an item.