diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-06-30 17:57:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-30 17:57:50 +0800 |
commit | 1e50f5dd281d28b8db1c65b9e80e53080b86e369 (patch) | |
tree | 30a0832e6f514fe06fe9308043eaa20d2ba44b13 /eth/cpu_mining.go | |
parent | f127799d795eaf2d6f99780c058361cd561492f1 (diff) | |
parent | 3a97280ae889bb6852ba16e70750a37b2ed08473 (diff) | |
download | go-tangerine-1e50f5dd281d28b8db1c65b9e80e53080b86e369.tar go-tangerine-1e50f5dd281d28b8db1c65b9e80e53080b86e369.tar.gz go-tangerine-1e50f5dd281d28b8db1c65b9e80e53080b86e369.tar.bz2 go-tangerine-1e50f5dd281d28b8db1c65b9e80e53080b86e369.tar.lz go-tangerine-1e50f5dd281d28b8db1c65b9e80e53080b86e369.tar.xz go-tangerine-1e50f5dd281d28b8db1c65b9e80e53080b86e369.tar.zst go-tangerine-1e50f5dd281d28b8db1c65b9e80e53080b86e369.zip |
Merge pull request #2159 from zsfelfoldi/light-backend
eth: separate common and full node-specific API and backend service
Diffstat (limited to 'eth/cpu_mining.go')
-rw-r--r-- | eth/cpu_mining.go | 2 |
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) |