From b828703bbd62fd6e423f5b811384dd9f8017aaf8 Mon Sep 17 00:00:00 2001 From: Some Random Crypto Guy Date: Mon, 30 Sep 2024 14:38:41 +0100 Subject: [PATCH] added maturation block to output of yield_info in CLI wallet --- src/simplewallet/simplewallet.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index d1ab136..fa3eb61 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -8414,8 +8414,9 @@ bool simple_wallet::yield_info(const std::vector &args) { % print_money(burnt) % print_money(yield); else - message_writer(console_color_green, false) << boost::format(tr("Height %d, txid %s, staked %s SAL, %s SAL accrued so far")) + message_writer(console_color_green, false) << boost::format(tr("Height %d (matures %d), txid %s, staked %s SAL, %s SAL accrued so far")) % height + % (height + 21601) % txid % print_money(burnt) % print_money(yield);