fix removeKey.
This commit is contained in:
parent
55369ca463
commit
1cc6727de5
@ -247,7 +247,7 @@ Wallet.prototype.removeKey = function removeKey(account, key, callback) {
|
||||
if (!account)
|
||||
return callback(new Error('Account not found.'));
|
||||
|
||||
account.addKey(key, callback);
|
||||
account.removeKey(key, callback);
|
||||
}, true);
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user