From b0c36d51dc83be5c7c8bac196bed422eac715293 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 1 Jun 2016 22:45:40 -0700 Subject: [PATCH] lint. --- lib/bcoin/hd.js | 1 + lib/bcoin/wallet.js | 1 - lib/bcoin/walletdb.js | 3 --- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/bcoin/hd.js b/lib/bcoin/hd.js index d5b102e7..4351b475 100644 --- a/lib/bcoin/hd.js +++ b/lib/bcoin/hd.js @@ -1428,6 +1428,7 @@ HDPublicKey.parseBase58 = function parseBase58(xkey) { HDPublicKey.parseRaw = function parseRaw(raw) { var p = new BufferReader(raw); var data = {}; + var i, type, prefix; data.version = p.readU32BE(); data.depth = p.readU8(); diff --git a/lib/bcoin/wallet.js b/lib/bcoin/wallet.js index 5dcbd015..c2e37055 100644 --- a/lib/bcoin/wallet.js +++ b/lib/bcoin/wallet.js @@ -2453,7 +2453,6 @@ function MasterKey(options) { */ MasterKey.prototype.toKey = function toKey(passphrase, timeout) { - var self = this; var xprivkey; if (!this.key) { diff --git a/lib/bcoin/walletdb.js b/lib/bcoin/walletdb.js index dc468e05..ba95b66e 100644 --- a/lib/bcoin/walletdb.js +++ b/lib/bcoin/walletdb.js @@ -358,9 +358,6 @@ WalletDB.prototype.get = function get(id, callback) { */ WalletDB.prototype.getRaw = function getRaw(id, callback) { - var self = this; - var wallet; - if (!id) return callback();