diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-27 05:27:06 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-27 05:27:06 +0800 |
commit | 7eed7e1d965ed7194ca42e4637754b63fb4502a5 (patch) | |
tree | 4cff83e774f4ccdd0c321504784c862b53288582 /rpc/api.go | |
parent | 2c5a32ebbc60f23e609c8397dad5d09ee38b69bb (diff) | |
parent | 49a912ce33274f60659ddb3af7e3fec89ee1b59e (diff) | |
download | dexon-7eed7e1d965ed7194ca42e4637754b63fb4502a5.tar dexon-7eed7e1d965ed7194ca42e4637754b63fb4502a5.tar.gz dexon-7eed7e1d965ed7194ca42e4637754b63fb4502a5.tar.bz2 dexon-7eed7e1d965ed7194ca42e4637754b63fb4502a5.tar.lz dexon-7eed7e1d965ed7194ca42e4637754b63fb4502a5.tar.xz dexon-7eed7e1d965ed7194ca42e4637754b63fb4502a5.tar.zst dexon-7eed7e1d965ed7194ca42e4637754b63fb4502a5.zip |
Merge branch 'rpcargs' of github.com:tgerring/go-ethereum into rpcargs
Diffstat (limited to 'rpc/api.go')
-rw-r--r-- | rpc/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go index 339de4432..cdd95c888 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -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) } |