fix removeKey.

This commit is contained in:
Christopher Jeffrey 2016-06-01 22:22:12 -07:00
parent 55369ca463
commit 1cc6727de5
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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);
};