aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 5e27890ce..8cc86103b 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -192,8 +192,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
*reply = br
case "eth_getTransactionByHash":
- // HashIndexArgs used, but only the "Hash" part we need.
- args := new(HashIndexArgs)
+ args := new(HashArgs)
if err := json.Unmarshal(req.Params, &args); err != nil {
}
tx, bhash, bnum, txi := api.xeth().EthTransactionByHash(args.Hash)