Fix for queuing wallets action which doesn't go through node.wallets (#4377)

This commit is contained in:
clemahieu 2024-01-20 09:13:41 +00:00 committed by GitHub
commit 5f69bed9b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -700,7 +700,7 @@ bool nano::wallet::enter_password (store::transaction const & transaction_a, std
if (!result)
{
auto this_l = shared_from_this ();
wallets.node.wallets.queue_wallet_action (nano::wallets::high_priority, this_l, [this_l] (nano::wallet & wallet) {
wallets.queue_wallet_action (nano::wallets::high_priority, this_l, [this_l] (nano::wallet & wallet) {
// Wallets must survive node lifetime
this_l->search_receivable (this_l->wallets.tx_begin_read ());
});