From 6db6d02e9e4d49999f7053e3be90bae2e8aedc67 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Wed, 14 Jun 2023 16:57:07 +1000 Subject: [PATCH] TXs: Fixed decimal errors --- FireWallet/MainForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FireWallet/MainForm.cs b/FireWallet/MainForm.cs index daf2322..89051e6 100644 --- a/FireWallet/MainForm.cs +++ b/FireWallet/MainForm.cs @@ -960,7 +960,7 @@ namespace FireWallet int inputCount = inputs.Count; int outputCount = outputs.Count; - int costHNS = int.Parse(txs[toGet - i - 1]["amount"].ToString()); + decimal costHNS = decimal.Parse(txs[toGet - i - 1]["amount"].ToString()); string cost = ""; if (costHNS < 0) {