From 50f50cab0685545c8f1f67f779a91c9874a9dc49 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Sat, 15 Jul 2023 21:59:56 +1000 Subject: [PATCH] main: Removed input and output count of TXs --- FireWalletLite/MainForm.cs | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/FireWalletLite/MainForm.cs b/FireWalletLite/MainForm.cs index 1388b65..ce8b14d 100644 --- a/FireWalletLite/MainForm.cs +++ b/FireWalletLite/MainForm.cs @@ -572,32 +572,6 @@ namespace FireWalletLite }; tmpPanel.Controls.Add(labelHash); - - JArray inputs = JArray.Parse(tx["inputs"].ToString()); - JArray outputs = JArray.Parse(tx["outputs"].ToString()); - int inputCount = inputs.Count; - int outputCount = outputs.Count; - - decimal costHNS = decimal.Parse(txs[toGet - i - 1]["amount"].ToString()); - string cost = ""; - if (costHNS < 0) - { - cost = "Spent: " + (costHNS * -1).ToString() + " HNS"; - } - else if (costHNS > 0) - { - cost = "Received: " + costHNS.ToString() + " HNS"; - } - - Label labelInputOutput = new Label() - { - Text = "Inputs: " + inputCount + " Outputs: " + outputCount + "\n" + cost, - AutoSize = true, - Location = new Point(300, 5) - }; - tmpPanel.Controls.Add(labelInputOutput); - - tmpPanel.Click += (sender, e) => { ProcessStartInfo psi = new ProcessStartInfo @@ -624,7 +598,6 @@ namespace FireWalletLite } - groupBoxHistory.Controls.Clear(); Panel txPanel = new Panel(); txPanel.Width = groupBoxHistory.Width - SystemInformation.VerticalScrollBarWidth;