Commit 3be9046c authored by Taylor Gerring's avatar Taylor Gerring

Rename local variable for clarity

parent 481b2212
......@@ -604,8 +604,8 @@ func (self *ethApi) GetTransactionReceipt(req *shared.Request) (interface{}, err
return nil, shared.NewDecodeParamError(err.Error())
}
v := common.BytesToHash(common.FromHex(args.Hash))
rec := self.xeth.GetTxReceipt(v)
txhash := common.BytesToHash(common.FromHex(args.Hash))
rec := self.xeth.GetTxReceipt(txhash)
// We could have an error of "not found". Should disambiguate
// if err != nil {
// return err, nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment