diff --git a/lib/wallet/txdb.js b/lib/wallet/txdb.js index dea3857b..c7dfd32b 100644 --- a/lib/wallet/txdb.js +++ b/lib/wallet/txdb.js @@ -1310,7 +1310,7 @@ TXDB.prototype.getLocked = function getLocked() { */ TXDB.prototype.getHistoryHashes = function getHistoryHashes(account) { - if (acount != null) { + if (account != null) { return this.keys({ gte: layout.T(account, constants.NULL_HASH), lte: layout.T(account, constants.HIGH_HASH), @@ -1335,7 +1335,7 @@ TXDB.prototype.getHistoryHashes = function getHistoryHashes(account) { */ TXDB.prototype.getUnconfirmedHashes = function getUnconfirmedHashes(account) { - if (acount != null) { + if (account != null) { return this.keys({ gte: layout.P(account, constants.NULL_HASH), lte: layout.P(account, constants.HIGH_HASH),