main: Require HSD API key

This commit is contained in:
2023-06-09 16:09:19 +10:00
parent 1a71329e6a
commit 03a6b4d6da

View File

@@ -278,6 +278,13 @@ namespace FireWallet
private void SaveSettings(object sender, EventArgs e)
{
if (textBoxNodeKey.Text == "")
{
NotifyForm notifyForm = new NotifyForm("Please enter a key");
notifyForm.ShowDialog();
notifyForm.Dispose();
return;
}
if (checkBoxRunHSD.Checked)
{
StreamWriter sw = new StreamWriter(dir + "node.txt");