spvnode: remove filter logs.
This commit is contained in:
parent
14ae1eb29c
commit
467604049b
@ -147,7 +147,7 @@ SPVNode.prototype._init = function _init() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.chain.on('connect', function(entry, block) {
|
this.chain.on('connect', function(entry, block) {
|
||||||
self.walletdb.addBlock(entry, block.txs || []).catch(onError);
|
self.walletdb.addBlock(entry, block.txs).catch(onError);
|
||||||
});
|
});
|
||||||
|
|
||||||
this.chain.on('disconnect', function(entry, block) {
|
this.chain.on('disconnect', function(entry, block) {
|
||||||
@ -204,8 +204,6 @@ SPVNode.prototype._close = co(function* close() {
|
|||||||
SPVNode.prototype.watchData = function watchData(chunks) {
|
SPVNode.prototype.watchData = function watchData(chunks) {
|
||||||
var i;
|
var i;
|
||||||
|
|
||||||
this.logger.info('Adding %d addresses to filter.', chunks.length);
|
|
||||||
|
|
||||||
for (i = 0; i < chunks.length; i++)
|
for (i = 0; i < chunks.length; i++)
|
||||||
this.pool.watch(chunks[i], 'hex');
|
this.pool.watch(chunks[i], 'hex');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user