main: Require HSD API key

This commit is contained in:
Nathan Woodburn 2023-06-09 16:09:19 +10:00
parent 1a71329e6a
commit 03a6b4d6da
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

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");