txdb: typo.

This commit is contained in:
Christopher Jeffrey 2016-10-09 22:46:25 -07:00
parent ef44dcd6cb
commit 2af685ec1f
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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),