Skip to content

Commit

Permalink
Update mainnet version url
Browse files Browse the repository at this point in the history
Signed-off-by: Yilun <[email protected]>
  • Loading branch information
yilunzhang committed Jul 22, 2021
1 parent 0dff8c1 commit 9c528af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nknd/nknd.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ type NetVer struct {

func GetRemoteVersionNum() (int, error) {
var myClient = &http.Client{Timeout: 10 * time.Second}
r, err := myClient.Get("https://nkn.org/mainnet.runtime.version")
r, err := myClient.Get("https://mainnet.nkn.org/version.json")
if err != nil {
return 0, err
}
Expand Down

0 comments on commit 9c528af

Please sign in to comment.