From a278146a3380d35612de1c24c8889b6b856e1985 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 15 Aug 2016 19:41:37 -0700 Subject: [PATCH] txdb: lint. --- lib/bcoin/txdb.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/bcoin/txdb.js b/lib/bcoin/txdb.js index f807caf9..798c3b47 100644 --- a/lib/bcoin/txdb.js +++ b/lib/bcoin/txdb.js @@ -1315,8 +1315,6 @@ TXDB.prototype._unconfirm = function unconfirm(tx, info, callback, force) { */ TXDB.prototype.getHistoryHashes = function getHistoryHashes(account, callback) { - var self = this; - if (typeof account === 'function') { callback = account; account = null; @@ -1347,8 +1345,6 @@ TXDB.prototype.getHistoryHashes = function getHistoryHashes(account, callback) { */ TXDB.prototype.getUnconfirmedHashes = function getUnconfirmedHashes(account, callback) { - var self = this; - if (typeof account === 'function') { callback = account; account = null; @@ -1379,8 +1375,6 @@ TXDB.prototype.getUnconfirmedHashes = function getUnconfirmedHashes(account, cal */ TXDB.prototype.getCoinHashes = function getCoinHashes(account, callback) { - var self = this; - if (typeof account === 'function') { callback = account; account = null; @@ -1416,8 +1410,6 @@ TXDB.prototype.getCoinHashes = function getCoinHashes(account, callback) { */ TXDB.prototype.getHeightRangeHashes = function getHeightRangeHashes(account, options, callback) { - var self = this; - if (typeof account !== 'number') { callback = options; options = account; @@ -1466,8 +1458,6 @@ TXDB.prototype.getHeightHashes = function getHeightHashes(height, callback) { */ TXDB.prototype.getRangeHashes = function getRangeHashes(account, options, callback) { - var self = this; - if (typeof account === 'function') { callback = account; account = null; @@ -1782,7 +1772,6 @@ TXDB.prototype.getAccountCoins = function getCoins(account, callback) { */ TXDB.prototype.fillHistory = function fillHistory(tx, callback) { - var self = this; var hash, index, coin, input; if (tx.isCoinbase()) {