batch: Removed old file writing for ledger

This commit is contained in:
Nathan Woodburn 2023-06-14 17:08:10 +10:00
parent 15cb4efaf1
commit d4620af384
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -538,14 +538,8 @@ namespace FireWallet
notifyForm.Dispose(); notifyForm.Dispose();
return; return;
} }
StreamWriter sw = new StreamWriter(dir + "hsd-ledger/bin/names.txt");
string domainslist = string.Join(",", batches.Select(batch => "\\\"" + batch.domain + "\\\"")); 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); NotifyForm notify = new NotifyForm("Please confirm the transaction on your Ledger device", false);
notify.Show(); notify.Show();