remove logging
This commit is contained in:
parent
630492b67a
commit
d6aeb2d81a
@ -210,14 +210,13 @@ BlockService.prototype.listBlocks = function(from, to, offset, limit) {
|
||||
if (height > end) {
|
||||
return;
|
||||
}
|
||||
console.log('fetching block', height);
|
||||
return self.getBlockByHeight(height)
|
||||
.then(function(block) {
|
||||
blocks.push(block.toObject());
|
||||
return fetchBlock(height + 1);
|
||||
})
|
||||
.catch(function(err) {
|
||||
console.log(err);
|
||||
// block not found, ignore
|
||||
});
|
||||
};
|
||||
return fetchBlock(start)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user