agent string fixes

This commit is contained in:
cryptonote-social 2020-07-26 12:21:38 -07:00
parent 64df7ee6dd
commit a6d5de368c
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ import (
)
func main() {
csminer.MultiMain(GnomeScreenStater{}, csminer.VERSION_STRING+" (linux)")
csminer.MultiMain(GnomeScreenStater{}, "csminer "+csminer.VERSION_STRING+" (linux)")
}
type GnomeScreenStater struct {

View File

@ -107,5 +107,5 @@ func getBatteryPowerState() (bool, error) {
}
func main() {
csminer.MultiMain(OSXScreenStater{}, csminer.VERSION_STRING+" (osx)")
csminer.MultiMain(OSXScreenStater{}, "csminer "+csminer.VERSION_STRING+" (osx)")
}

View File

@ -93,7 +93,7 @@ func (cl *Client) Connect(uname, pw, rigid string, useTLS bool) error {
Login string `json:"login"`
Pass string `json:"pass"`
RigID string `json:"rigid"`
Agent string
Agent string `json:"agent"`
}{
Login: uname,
Pass: pw,