From 05ea60a70cdbebda8914bba7ebe04d1fd87b8311 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Mon, 30 Jun 2025 15:39:47 +0400 Subject: [PATCH] made seed request non-synchronized --- src/wallet/wallets_manager.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/wallet/wallets_manager.cpp b/src/wallet/wallets_manager.cpp index e9866fef..ed1c5515 100644 --- a/src/wallet/wallets_manager.cpp +++ b/src/wallet/wallets_manager.cpp @@ -1922,10 +1922,11 @@ std::string wallets_manager::get_wallet_restore_info(uint64_t wallet_id, std::st { GET_WALLET_OPT_BY_ID(wallet_id, wo); - if (wo.wallet_state != view::wallet_status_info::wallet_state_ready || wo.long_refresh_in_progress) - return API_RETURN_CODE_CORE_BUSY; + seed_phrase = wo.w.unlocked_get()->get_account().get_seed_phrase(seed_password); - seed_phrase = wo.w->get()->get_account().get_seed_phrase(seed_password); + //if (wo.wallet_state != view::wallet_status_info::wallet_state_ready || wo.long_refresh_in_progress) + // return API_RETURN_CODE_CORE_BUSY; + //seed_phrase = wo.w->get()->get_account().get_seed_phrase(seed_password); return API_RETURN_CODE_OK; }