walletdb: minor.

This commit is contained in:
Christopher Jeffrey 2016-10-23 14:30:40 -07:00
parent e02e766518
commit 0c85aeae44
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -889,9 +889,9 @@ WalletDB.prototype.saveAccount = function saveAccount(account) {
* @returns {Promise} - Returns Boolean.
*/
WalletDB.prototype.hasAccount = co(function* hasAccount(wid, index) {
return yield this.db.has(layout.a(wid, index));
});
WalletDB.prototype.hasAccount = function hasAccount(wid, index) {
return this.db.has(layout.a(wid, index));
};
/**
* Lookup the corresponding account name's index.