Permalink
Browse files

move siac version to top of versioncmd()

1 parent 36c1b60 commit d424dcacd906190e410aa2e32c50c27b57db0069 @johnathanhowell johnathanhowell committed Nov 2, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 siac/daemoncmd.go
View
@@ -48,13 +48,13 @@ type daemonVersion struct {
// version prints the version of siac and siad.
func versioncmd() {
+ fmt.Println("Sia Client v" + build.Version)
var versioninfo daemonVersion
err := getAPI("/daemon/version", &versioninfo)
if err != nil {
fmt.Println("Could not get daemon version:", err)
return
}
- fmt.Println("Sia Client v" + build.Version)
fmt.Println("Sia Daemon v" + versioninfo.Version)
}

0 comments on commit d424dca

Please sign in to comment.