aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api.go')
-rw-r--r--rpc/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 1102b7cb2..e0a3e5c08 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -349,7 +349,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
*reply = NewLogsRes(p.xeth().AllLogs(opts))
case "eth_getWork":
p.xeth().SetMining(true)
- *reply = p.agent.GetWork().Hex()
+ *reply = p.agent.GetWork()
case "eth_submitWork":
args := new(SubmitWorkArgs)
if err := json.Unmarshal(req.Params, &args); err != nil {