From c7f77c26496704266dd26c11542a43e4def14bbc Mon Sep 17 00:00:00 2001 From: Samy Date: Sun, 30 Aug 2026 18:23:50 +0200 Subject: [PATCH] simplewallet: hide reached confirmation threshold --- src/simplewallet/simplewallet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 99d7932a3..93427a7f1 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -10139,8 +10139,8 @@ bool simple_wallet::show_transfer(const std::vector &args) uint64_t suggested_threshold = last_block_reward ? (pd.m_amount + last_block_reward - 1) / last_block_reward : 0; if (bh >= last_block_height) success_msg_writer() << "Locked: " << (bh - last_block_height) << " blocks to unlock"; - else if (suggested_threshold > 0) - success_msg_writer() << std::to_string(confirmations) << " confirmations (" << suggested_threshold << " suggested threshold)"; + else if (confirmations < suggested_threshold) + success_msg_writer() << std::to_string(confirmations) << " confirmations (" << suggested_threshold << " suggested for this amount)"; else success_msg_writer() << std::to_string(confirmations) << " confirmations"; }