Add testnet option to demo.ts

This commit is contained in:
folex 2021-07-22 17:06:41 +03:00
parent 41733278ac
commit 0f454e146c

View File

@ -92,6 +92,9 @@ if (args.length >= 1 && args[0] == "testnet") {
} else if (args[0] == "krasnodar") {
environment = krasnodar;
console.log("📘 Will connect to krasnodar");
} else if (args[0] == "testnet") {
environment = testNet;
console.log("📘 Will connect to testNet");
} else {
throw "Specify environment";
}