TXs: Fixed decimal errors

This commit is contained in:
Nathan Woodburn 2023-06-14 16:57:07 +10:00
parent 3eda3d7419
commit 6db6d02e9e
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -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)
{