From ddc847f9d7a76e7653d371165ff99b6dbcd6de30 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Sat, 24 Feb 2024 17:14:34 +0400 Subject: [PATCH] fixed staking in GUI --- src/wallet/wallets_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallets_manager.cpp b/src/wallet/wallets_manager.cpp index e0e70588..c1edabff 100644 --- a/src/wallet/wallets_manager.cpp +++ b/src/wallet/wallets_manager.cpp @@ -2223,7 +2223,7 @@ void wallets_manager::wallet_vs_options::worker_func() pos_minin_interval.do_call([this](){ tools::wallet2::mining_context ctx = AUTO_VAL_INIT(ctx); LOG_PRINT_L1(get_log_prefix() + " Starting PoS mint iteration"); - if (!w->get()->fill_mining_context(ctx) || ctx.status != API_RETURN_CODE_OK) + if (!w->get()->fill_mining_context(ctx)) { LOG_PRINT_L1(get_log_prefix() + " cannot obtain PoS mining context, skip iteration"); return true;