Skip to content

Commit dc0bf04

Browse files
author
tok-kkk
committed
Merge branch 'command-center'
2 parents 453b44b + 27e68ea commit dc0bf04

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cmd/down.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ func destroyNode(ctx *cli.Context) error {
6161

6262
switch network {
6363
case "testnet":
64-
url = fmt.Sprintf("https://darknode-command-center-testnet.republicprotocol.com/darknode/%v?action=deregister", id)
64+
url = fmt.Sprintf("https://dcc-testnet.republicprotocol.com/darknode/%v?action=deregister", id)
6565
case "mainnet":
66-
url = fmt.Sprintf("https://darknode-command-center.republicprotocol.com/darknode/%v?action=deregister", id)
66+
url = fmt.Sprintf("https://dcc.republicprotocol.com/darknode/%v?action=deregister", id)
6767
default:
6868
return ErrUnknownNetwork
6969
}

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func main() {
1919
app := cli.NewApp()
2020
app.Name = "Darknode CLI"
2121
app.Usage = "A command-line tool for managing Darknodes."
22-
app.Version = "2.2.5"
22+
app.Version = "2.2.6"
2323

2424
// Define sub-commands
2525
app.Commands = []cli.Command{

cmd/up.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ func outputURL(nodeDir, name, network string, publicKey []byte) error {
112112
var url string
113113
switch network {
114114
case "mainnet":
115-
url = fmt.Sprintf("https://darknode-command-center.republicprotocol.com/darknode/%s?action=register&public_key=0x%s&name=%s", id, publicKeyHex, name)
115+
url = fmt.Sprintf("https://dcc.republicprotocol.com/darknode/%s?action=register&public_key=0x%s&name=%s", id, publicKeyHex, name)
116116
case "testnet":
117-
url = fmt.Sprintf("https://darknode-command-center-testnet.republicprotocol.com/darknode/%s?action=register&public_key=0x%s&name=%s", id, publicKeyHex, name)
117+
url = fmt.Sprintf("https://dcc-testnet.republicprotocol.com/darknode/%s?action=register&public_key=0x%s&name=%s", id, publicKeyHex, name)
118118
}
119119

120120
fmt.Printf("\n")

0 commit comments

Comments
 (0)