main: Added agent to internal HSD node

This commit is contained in:
Nathan Woodburn 2023-06-13 22:51:48 +10:00
parent b34c6507b8
commit 71395f253b
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -215,7 +215,7 @@ namespace FireWallet
hsdProcess.StartInfo.UseShellExecute = false;
hsdProcess.StartInfo.RedirectStandardError = false;
hsdProcess.StartInfo.FileName = "node.exe";
hsdProcess.StartInfo.Arguments = dir + "hsd/bin/hsd --index-tx --index-address --api-key " + nodeSettings["Key"];
hsdProcess.StartInfo.Arguments = dir + "hsd/bin/hsd --agent=FireWallet --index-tx --index-address --api-key " + nodeSettings["Key"];
string bobPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\Bob\\hsd_data";
if (Directory.Exists(bobPath))