diff --git a/src/wallet/plain_wallet_api.cpp b/src/wallet/plain_wallet_api.cpp index 2790692d..713636e1 100644 --- a/src/wallet/plain_wallet_api.cpp +++ b/src/wallet/plain_wallet_api.cpp @@ -140,7 +140,7 @@ namespace plain_wallet return epee::serialization::store_t_to_json(err_result); } - std::string generate(hwallet h, const std::string& path, const std::string& password) + std::string generate(const std::string& path, const std::string& password) { epee::json_rpc::response ok_response = AUTO_VAL_INIT(ok_response); std::string rsp = gwm.generate_wallet(epee::string_encoding::convert_to_unicode(path), password, ok_response.result);