aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-23 15:45:09 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-23 15:45:09 +0800
commit31879eca8cfb9b759944ca48590a22e7509a58c5 (patch)
tree9070d5e8aa3eb39bdb9033c6be109f920eb11ede /rpc/api.go
parent3772f02569fcc5a3e59e6b9e0dc901fd5e171add (diff)
downloadgo-tangerine-31879eca8cfb9b759944ca48590a22e7509a58c5.tar.gz
go-tangerine-31879eca8cfb9b759944ca48590a22e7509a58c5.tar.zst
go-tangerine-31879eca8cfb9b759944ca48590a22e7509a58c5.zip
Stub corrected getWork response
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 {