aboutsummaryrefslogtreecommitdiffstats
path: root/eth/cpu_mining.go
diff options
context:
space:
mode:
Diffstat (limited to 'eth/cpu_mining.go')
-rw-r--r--eth/cpu_mining.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/cpu_mining.go b/eth/cpu_mining.go
index 3469d394e..143b9c98a 100644
--- a/eth/cpu_mining.go
+++ b/eth/cpu_mining.go
@@ -28,7 +28,7 @@ import (
const disabledInfo = "Set GO_OPENCL and re-build to enable."
-func (s *Ethereum) StartMining(threads int, gpus string) error {
+func (s *FullNodeService) StartMining(threads int, gpus string) error {
eb, err := s.Etherbase()
if err != nil {
err = fmt.Errorf("Cannot start mining without etherbase address: %v", err)