aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-10-16 21:25:33 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-10-16 21:25:33 +0800
commitd5327ddc5fdc2a8b967699ea06ef5b5503657123 (patch)
tree9872db19a62cb21fc68e7c3e27a8bf8b9fcc63bd /xeth
parentb74775400906cc582bdbb98bf5067c5258ee491f (diff)
parentec6a548ee3555813d83f86f82bd25694bfd9c303 (diff)
downloaddexon-d5327ddc5fdc2a8b967699ea06ef5b5503657123.tar.gz
dexon-d5327ddc5fdc2a8b967699ea06ef5b5503657123.tar.zst
dexon-d5327ddc5fdc2a8b967699ea06ef5b5503657123.zip
Merge pull request #1869 from Gustav-Simonsson/gpu_miner
all: Add GPU mining, disabled by default
Diffstat (limited to 'xeth')
-rw-r--r--xeth/xeth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index 3b487fed8..701932f97 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -474,7 +474,7 @@ func (self *XEth) ClientVersion() string {
func (self *XEth) SetMining(shouldmine bool, threads int) bool {
ismining := self.backend.IsMining()
if shouldmine && !ismining {
- err := self.backend.StartMining(threads)
+ err := self.backend.StartMining(threads, "")
return err == nil
}
if ismining && !shouldmine {