From d4620af384f18d132df50c6de39bc35d16caacbe Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Wed, 14 Jun 2023 17:08:10 +1000 Subject: [PATCH] batch: Removed old file writing for ledger --- FireWallet/BatchForm.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/FireWallet/BatchForm.cs b/FireWallet/BatchForm.cs index 5a9aa34..deff3bb 100644 --- a/FireWallet/BatchForm.cs +++ b/FireWallet/BatchForm.cs @@ -538,14 +538,8 @@ namespace FireWallet notifyForm.Dispose(); return; } - - StreamWriter sw = new StreamWriter(dir + "hsd-ledger/bin/names.txt"); + string domainslist = string.Join(",", batches.Select(batch => "\\\"" + batch.domain + "\\\"")); - sw.Write(domainslist); - sw.Dispose(); - StreamWriter sw2 = new StreamWriter(dir + "hsd-ledger/bin/batch.json"); - sw2.Write(response); - sw2.Dispose(); NotifyForm notify = new NotifyForm("Please confirm the transaction on your Ledger device", false); notify.Show();