aboutsummaryrefslogtreecommitdiffstats
path: root/eth/gpu_mining.go
diff options
context:
space:
mode:
Diffstat (limited to 'eth/gpu_mining.go')
-rw-r--r--eth/gpu_mining.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/gpu_mining.go b/eth/gpu_mining.go
index 0208bba80..12fa74601 100644
--- a/eth/gpu_mining.go
+++ b/eth/gpu_mining.go
@@ -33,7 +33,7 @@ import (
"github.com/ethereum/go-ethereum/miner"
)
-func (s *FullNodeService) StartMining(threads int, gpus string) error {
+func (s *Ethereum) StartMining(threads int, gpus string) error {
eb, err := s.Etherbase()
if err != nil {
err = fmt.Errorf("Cannot start mining without etherbase address: %v", err)