mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
wallet: fix key image computation signaling to the device
This commit is contained in:
parent
475481949a
commit
97e1c9278c
1 changed files with 1 additions and 1 deletions
|
@ -3129,6 +3129,7 @@ void wallet2::refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blo
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
auto scope_exit_handler_hwdev = epee::misc_utils::create_scope_leave_handler([&](){hwdev.computing_key_images(false);});
|
||||||
bool first = true;
|
bool first = true;
|
||||||
while(m_run.load(std::memory_order_relaxed))
|
while(m_run.load(std::memory_order_relaxed))
|
||||||
{
|
{
|
||||||
|
@ -3254,7 +3255,6 @@ void wallet2::refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blo
|
||||||
LOG_PRINT_L1("Failed to check pending transactions");
|
LOG_PRINT_L1("Failed to check pending transactions");
|
||||||
}
|
}
|
||||||
|
|
||||||
hwdev.computing_key_images(false);
|
|
||||||
m_first_refresh_done = true;
|
m_first_refresh_done = true;
|
||||||
|
|
||||||
LOG_PRINT_L1("Refresh done, blocks received: " << blocks_fetched << ", balance (all accounts): " << print_money(balance_all()) << ", unlocked: " << print_money(unlocked_balance_all()));
|
LOG_PRINT_L1("Refresh done, blocks received: " << blocks_fetched << ", balance (all accounts): " << print_money(balance_all()) << ", unlocked: " << print_money(unlocked_balance_all()));
|
||||||
|
|
Loading…
Reference in a new issue