1
0
Fork 0
forked from lthn/blockchain

made seed request non-synchronized

This commit is contained in:
cryptozoidberg 2025-06-30 15:39:47 +04:00
parent 5340c6db32
commit 05ea60a70c
No known key found for this signature in database
GPG key ID: 2E10CC61CAC8F36D

View file

@ -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;
}