Merge branch 'rpcargs' of github.com:tgerring/go-ethereum into rpcargs

This commit is contained in:
Taylor Gerring
2015-03-26 22:27:06 +01:00
3 changed files with 7 additions and 7 deletions

View File

@@ -212,7 +212,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
args := new(HashIndexArgs)
if err := json.Unmarshal(req.Params, &args); err != nil {
}
tx := api.xeth().EthTransactionByHash(args.Hash.Hex())
tx := api.xeth().EthTransactionByHash(args.Hash)
if tx != nil {
*reply = NewTransactionRes(tx)
}