From 248667016a3abe3585c7267f4e6847304f2b4b2b Mon Sep 17 00:00:00 2001 From: auruya Date: Thu, 4 Dec 2025 17:33:37 +0300 Subject: [PATCH] fix freshly unlocked output being excluded from transactions --- src/wallet/tx_builder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/tx_builder.cpp b/src/wallet/tx_builder.cpp index a328e4897..a0f8854dd 100644 --- a/src/wallet/tx_builder.cpp +++ b/src/wallet/tx_builder.cpp @@ -91,7 +91,7 @@ static bool is_transfer_usable_for_input_selection(const wallet2::transfer_detai && td.m_key_image_known && !td.m_key_image_partial && !td.m_frozen - && (top_block_index >= td.m_block_height + blocks_locked_for) + && (top_block_index +1 >= td.m_block_height + blocks_locked_for) // && last_locked_block_index <= top_block_index && td.m_subaddr_index.major == from_account && (from_subaddresses.empty() || from_subaddresses.count(td.m_subaddr_index.minor) == 1)