From 80eb8f46b7991b80dffe00e52d9fb00a90531bc0 Mon Sep 17 00:00:00 2001
From: Taylor Gerring <taylor.gerring@gmail.com>
Date: Fri, 3 Jul 2015 23:46:59 -0500
Subject: [PATCH] Fix hex conversion

---
 rpc/api/eth.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rpc/api/eth.go b/rpc/api/eth.go
index c556c739f4..9d78538feb 100644
--- a/rpc/api/eth.go
+++ b/rpc/api/eth.go
@@ -604,7 +604,8 @@ func (self *ethApi) GetTransactionReceipt(req *shared.Request) (interface{}, err
 		return nil, shared.NewDecodeParamError(err.Error())
 	}
 
-	rec, _ := self.xeth.GetTxReceipt(common.StringToHash(args.Hash))
+	v := common.BytesToHash(common.FromHex(args.Hash))
+	rec := self.xeth.GetTxReceipt(v)
 	// We could have an error of "not found". Should disambiguate
 	// if err != nil {
 	// 	return err, nil