From 2af685ec1f788657ad393a409ae6e2a9f83327e7 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 9 Oct 2016 22:46:25 -0700 Subject: [PATCH] txdb: typo. --- lib/wallet/txdb.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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),