[EOSIO/eos] Remove default key from keosd (#4107)

heifner commented on this pull request.

> @@ -107,6 +107,13 @@ class wallet_manager {
/// @throws fc::exception if wallet not found or locked.
void import_key(const std::string& name, const std::string& wif_key);

+ /// Removes a key from the specified wallet.
+ /// Wallet must be opened and unlocked.
+ /// @param name the name of the wallet to import into.
+ /// @param key the Public Key to remove, e.g. EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
+ /// @throws fc::exception if wallet not found or locked or key is not imported.
+ void remove_key(const std::string& name, const std::string& key);

Needs to require password.

This post was last modified on June 14, 2018, 10:35 pm