From b9c9d6d798b26942d69ec9d3c3e88a1b8f563fb6 Mon Sep 17 00:00:00 2001
From: Taylor Gerring <taylor.gerring@gmail.com>
Date: Thu, 2 Apr 2015 14:37:11 +0200
Subject: [PATCH] Use HashArgs for eth_getTransactionByHash

---
 rpc/api.go | 3 +--
 1 file changed, 1 insertion(+), 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)
-- 
2.18.1