From e99c0e2dc0202df083dd935e1c60842a7c9bad95 Mon Sep 17 00:00:00 2001 From: Lee *!* Clagett Date: Mon, 9 Mar 2026 22:53:56 -0400 Subject: [PATCH] Tx fee is fixed, do not update on refresh --- src/views/history.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/history.cpp b/src/views/history.cpp index 1501723..79087dc 100644 --- a/src/views/history.cpp +++ b/src/views/history.cpp @@ -148,7 +148,6 @@ namespace lwcli { namespace view payment_id_ = {ftxui::text(_("Payment ID: ")), ftxui::text(info->paymentId())}; amount_ = {ftxui::text(_("Amount: ")), ftxui::text(print_amount(*info))}; confirmation_ = {ftxui::text(_("Confirmations: ")), ftxui::text(std::to_string(info->confirmations()))}; - fee_ = {ftxui::text(_("Fee: ")), ftxui::text(lwsf::displayAmount(info->fee()))}; block_height_ = {ftxui::text(_("Block Height: ")), ftxui::text(std::to_string(info->blockHeight()))}; { std::string minors; @@ -215,6 +214,7 @@ namespace lwcli { namespace view on_refresh(info); title_ = ftxui::text(_("Tx ") + info->hash()); + fee_ = {ftxui::text(_("Fee: ")), ftxui::text(lwsf::displayAmount(info->fee()))}; coinbase_ = {ftxui::text(_("Coinbase: ")), ftxui::text(info->isCoinbase() ? _("Yes"): _("No"))}; note_ = info->description();