pool: minor.
This commit is contained in:
parent
6c25efca89
commit
0dbdf30e89
@ -1596,7 +1596,7 @@ Pool.prototype.hasBlock = co(function* hasBlock(hash) {
|
|||||||
* @returns {Promise}
|
* @returns {Promise}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Pool.prototype.getTX = function getTX(peer, hash) {
|
Pool.prototype.getTX = co(function* getTX(peer, hash) {
|
||||||
var self = this;
|
var self = this;
|
||||||
var item;
|
var item;
|
||||||
|
|
||||||
@ -1627,7 +1627,7 @@ Pool.prototype.getTX = function getTX(peer, hash) {
|
|||||||
peer.queueTX.push(item.start());
|
peer.queueTX.push(item.start());
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
};
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test whether the mempool has or has seen an item.
|
* Test whether the mempool has or has seen an item.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user