walletdb: minor.
This commit is contained in:
parent
e02e766518
commit
0c85aeae44
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user