1
0
Fork 0
forked from lthn/blockchain

fixed staking in GUI

This commit is contained in:
cryptozoidberg 2024-02-24 17:14:34 +04:00
parent 1bda445cdb
commit ddc847f9d7
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

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