walletdb accounts.
This commit is contained in:
parent
70225dcb57
commit
80d8c2b3c8
@ -620,7 +620,8 @@ WalletDB.prototype.getAccounts = function getAccounts(id, callback) {
|
||||
parse: function(value, key) {
|
||||
var name = key.split('/')[2];
|
||||
var index = value.readUInt32LE(0, true);
|
||||
accounts[index] = name;
|
||||
assert(index === accounts.length);
|
||||
accounts.push(name);
|
||||
}
|
||||
}, function(err) {
|
||||
if (err)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user