aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-12 03:11:27 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-12 03:11:27 +0800
commit0bedf1c3760a1042171fdfde0f119acb683c43ec (patch)
tree2251978416ad615ee8ca5e465a5bf9ed5b74efed /rpc
parent59bc5412327469fd13534ee22eaeda91d79286f4 (diff)
parent48bd48876c02d1a08690b9604df09ef4bcf77838 (diff)
downloaddexon-0bedf1c3760a1042171fdfde0f119acb683c43ec.tar
dexon-0bedf1c3760a1042171fdfde0f119acb683c43ec.tar.gz
dexon-0bedf1c3760a1042171fdfde0f119acb683c43ec.tar.bz2
dexon-0bedf1c3760a1042171fdfde0f119acb683c43ec.tar.lz
dexon-0bedf1c3760a1042171fdfde0f119acb683c43ec.tar.xz
dexon-0bedf1c3760a1042171fdfde0f119acb683c43ec.tar.zst
dexon-0bedf1c3760a1042171fdfde0f119acb683c43ec.zip
Merge pull request #918 from obscuren/cpu_miner_fixes
cmd/geth, miner, backend, xeth: Fixed miner threads to be settable
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 309c161ad..d53a9917d 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -391,7 +391,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
}
*reply = NewLogsRes(api.xeth().AllLogs(args.Earliest, args.Latest, args.Skip, args.Max, args.Address, args.Topics))
case "eth_getWork":
- api.xeth().SetMining(true)
+ api.xeth().SetMining(true, 0)
*reply = api.xeth().RemoteMining().GetWork()
case "eth_submitWork":
args := new(SubmitWorkArgs)