This commit is contained in:
Christopher Jeffrey 2016-05-19 12:00:25 -07:00
parent ed1a8ef718
commit 65125f7b4f
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -178,13 +178,6 @@ function Pool(options) {
activeTX: 0 activeTX: 0
}; };
this.validate = {
// 5 days scan delta for obtaining TXs
delta: 5 * 24 * 3600,
// getTX map
map: {}
};
// Currently broadcasted objects // Currently broadcasted objects
this.inv = { this.inv = {
list: [], list: [],
@ -1650,7 +1643,7 @@ Pool.prototype.broadcast = function broadcast(msg, callback) {
var item = this.inv.map[hash]; var item = this.inv.map[hash];
if (item) { if (item) {
item.refresh(msg); item.refresh();
item.addCallback(callback); item.addCallback(callback);
return item; return item;
} }