From e6647344ba23cb7582eecb5c2d93fd67af7e5ec8 Mon Sep 17 00:00:00 2001 From: "C.S" Date: Thu, 20 Aug 2020 20:42:42 -0700 Subject: [PATCH] fix osx machine stater --- osx/csminer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osx/csminer.go b/osx/csminer.go index 11bea4e..48309f9 100644 --- a/osx/csminer.go +++ b/osx/csminer.go @@ -20,7 +20,7 @@ type OSXMachineStater struct { // The OSX implementation of the screen & batter state notification channel is based on polling the // state every 10 seconds. It would be better to figure out how to get notified of state changes // when they happen. -func (s OSXMachineStater) GetMachineStateChannel(saver bool) (chan csminer.ScreenState, error) { +func (s OSXMachineStater) GetMachineStateChannel(saver bool) (chan csminer.MachineState, error) { ret := make(chan csminer.MachineState) go func() {