From 480c1a0bdc7f5992df4d9d57e98f3ed7c35d2a3d Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Wed, 12 Feb 2020 00:30:04 +0100 Subject: [PATCH] fixed param for generate --- src/wallet/plain_wallet_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);