txdb: fix iterators.

This commit is contained in:
Christopher Jeffrey 2016-08-15 20:10:33 -07:00
parent 634e1603a4
commit e517a7a9f7
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1333,7 +1333,7 @@ TXDB.prototype.getHistoryHashes = function getHistoryHashes(account, callback) {
return key[1];
}
key = layout.tt(key);
return key[0];
return key;
}
}, callback);
};
@ -1363,7 +1363,7 @@ TXDB.prototype.getUnconfirmedHashes = function getUnconfirmedHashes(account, cal
return key[1];
}
key = layout.pp(key);
return key[0];
return key;
}
}, callback);
};