From 74092e500b8d3b8b68522daa3f714646ad0f5cf6 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Thu, 13 Feb 2020 21:29:07 +0100 Subject: [PATCH] fixed bug in generate/restore api --- src/wallet/plain_wallet_api.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wallet/plain_wallet_api.cpp b/src/wallet/plain_wallet_api.cpp index dd06f183..6b0f8ee6 100644 --- a/src/wallet/plain_wallet_api.cpp +++ b/src/wallet/plain_wallet_api.cpp @@ -146,6 +146,7 @@ namespace plain_wallet { ok_response.result.recovered = true; } + gwm.run_wallet(ok_response.result.wallet_id); return epee::serialization::store_t_to_json(ok_response); } error_response err_result = AUTO_VAL_INIT(err_result); @@ -164,6 +165,7 @@ namespace plain_wallet { ok_response.result.recovered = true; } + gwm.run_wallet(ok_response.result.wallet_id); return epee::serialization::store_t_to_json(ok_response); } error_response err_result = AUTO_VAL_INIT(err_result);