From 279df328d12758bd5e47bcb448f3b5c6d215d02b Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 4 Oct 2016 23:17:28 -0700 Subject: [PATCH] lint. --- lib/chain/chaindb.js | 2 +- lib/wallet/account.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/chain/chaindb.js b/lib/chain/chaindb.js index 0a7bf213..cad325a3 100644 --- a/lib/chain/chaindb.js +++ b/lib/chain/chaindb.js @@ -778,7 +778,7 @@ ChainDB.prototype.getUndoView = co(function* getUndoView(block) { ChainDB.prototype.getBlock = co(function* getBlock(hash) { var item = yield this.getBoth(hash); - var height, data, block; + var data, block; if (!item.hash) return; diff --git a/lib/wallet/account.js b/lib/wallet/account.js index 4e26680c..47882951 100644 --- a/lib/wallet/account.js +++ b/lib/wallet/account.js @@ -693,12 +693,12 @@ Account.prototype.getAddressType = function getAddressType(path) { return Script.types.SCRIPTHASH; if (this.witness) { - if (this.type === Acount.types.MULTISIG) + if (this.type === Account.types.MULTISIG) return Script.types.WITNESSSCRIPTHASH; return Script.types.WITNESSPUBKEYHASH; } - if (this.type === Acount.types.MULTISIG) + if (this.type === Account.types.MULTISIG) return Script.types.SCRIPTHASH; return Script.types.PUBKEYHASH;