spvnode: remove filter logs.

This commit is contained in:
Christopher Jeffrey 2016-11-11 15:41:12 -08:00
parent 14ae1eb29c
commit 467604049b
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -147,7 +147,7 @@ SPVNode.prototype._init = function _init() {
});
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) {
@ -204,8 +204,6 @@ SPVNode.prototype._close = co(function* close() {
SPVNode.prototype.watchData = function watchData(chunks) {
var i;
this.logger.info('Adding %d addresses to filter.', chunks.length);
for (i = 0; i < chunks.length; i++)
this.pool.watch(chunks[i], 'hex');