txdb: fix iterators.
This commit is contained in:
parent
634e1603a4
commit
e517a7a9f7
@ -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);
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user