1
0
Fork 0
forked from lthn/blockchain

fixed param for generate

This commit is contained in:
cryptozoidberg 2020-02-12 00:30:04 +01:00
parent b43a09b6e4
commit 480c1a0bdc
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -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<view::open_wallet_response, epee::json_rpc::dummy_error> ok_response = AUTO_VAL_INIT(ok_response);
std::string rsp = gwm.generate_wallet(epee::string_encoding::convert_to_unicode(path), password, ok_response.result);