Commit 8c2d76d9 authored by Dan Gershony's avatar Dan Gershony

Hard code the stratis testnet ip

parent 75fbb682
...@@ -47,6 +47,8 @@ namespace Breeze.Daemon ...@@ -47,6 +47,8 @@ namespace Breeze.Daemon
return; return;
var network = args.Contains("-testnet") ? InitStratisTest() : Network.StratisMain; var network = args.Contains("-testnet") ? InitStratisTest() : Network.StratisMain;
if (args.Contains("-testnet"))
args = args.Append("-addnode=13.64.76.48").ToArray(); // TODO: fix this temp hack
var nodeSettings = NodeSettings.FromArguments(args, "stratis", network, ProtocolVersion.ALT_PROTOCOL_VERSION); var nodeSettings = NodeSettings.FromArguments(args, "stratis", network, ProtocolVersion.ALT_PROTOCOL_VERSION);
nodeSettings.ApiUri = new Uri(string.IsNullOrEmpty(apiUri) ? DefaultStratisUri : apiUri); nodeSettings.ApiUri = new Uri(string.IsNullOrEmpty(apiUri) ? DefaultStratisUri : apiUri);
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
}, },
"StratisTest": { "StratisTest": {
"commandName": "Project", "commandName": "Project",
"commandLineArgs": "stratis -testnet -addnode=13.64.76.48" "commandLineArgs": "stratis -testnet"
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment