Commit ff3c2c58 authored by Alexey Khvostenko's avatar Alexey Khvostenko

"-destreamtest" key has been added to BreezeD-project to implement Wallet for Destream TestNet

parent 98bb282c
......@@ -27,12 +27,18 @@ namespace Stratis.BreezeD
// Get the API uri.
var isTestNet = args.Contains("-testnet");
var isStratis = args.Contains("stratis");
var isDestreamTest = args.Contains("-destreamtest");
var agent = "Breeze";
NodeSettings nodeSettings;
if (isStratis)
if(isDestreamTest)
{
Network network = Network.DestreamTest;
nodeSettings = new NodeSettings(network, ProtocolVersion.ALT_PROTOCOL_VERSION, agent, args: args, loadConfiguration: false);
}
else if (isStratis)
{
Network network = isTestNet ? Network.StratisTest : Network.StratisMain;
if (isTestNet)
......
......@@ -2,7 +2,7 @@
"profiles": {
"Bitcoin Main": {
"commandName": "Project",
"commandLineArgs": "stratis -testnet"
"commandLineArgs": "-destreamtest"
},
"Bitcoin Test": {
"commandName": "Project",
......
......@@ -28,7 +28,6 @@ namespace Stratis.StratisD
{
try
{
Network network = null;
if (args.Contains("-testnet"))
network = Network.StratisTest;
......
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