minor.
This commit is contained in:
parent
ed1a8ef718
commit
65125f7b4f
@ -178,13 +178,6 @@ function Pool(options) {
|
||||
activeTX: 0
|
||||
};
|
||||
|
||||
this.validate = {
|
||||
// 5 days scan delta for obtaining TXs
|
||||
delta: 5 * 24 * 3600,
|
||||
// getTX map
|
||||
map: {}
|
||||
};
|
||||
|
||||
// Currently broadcasted objects
|
||||
this.inv = {
|
||||
list: [],
|
||||
@ -1650,7 +1643,7 @@ Pool.prototype.broadcast = function broadcast(msg, callback) {
|
||||
var item = this.inv.map[hash];
|
||||
|
||||
if (item) {
|
||||
item.refresh(msg);
|
||||
item.refresh();
|
||||
item.addCallback(callback);
|
||||
return item;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user