minor: lint.

This commit is contained in:
Christopher Jeffrey 2017-01-28 19:09:12 -08:00
parent 17742434a5
commit 0f8fd1dc77
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 2 additions and 2 deletions

View File

@ -367,7 +367,7 @@ Logger.prototype.getStream = function getStream() {
util.mkdir(this.filename, true);
} catch (e) {
this.writeConsole(Logger.levels.WARNING, 'Could not create log directory.');
this.writeConsole(Logger.levels.ERROR, err.message);
this.writeConsole(Logger.levels.ERROR, e.message);
this.lastFail = util.now();
return;
}

View File

@ -200,7 +200,7 @@ MerkleBlock.prototype.extractTree = function extractTree() {
var flags = this.flags;
var totalTX = this.totalTX;
var height = 0;
var root, p, buf;
var root, buf;
function width(height) {
return (totalTX + (1 << height) - 1) >>> height;