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()) {