good morning!!!!

Skip to content
Snippets Groups Projects
Commit 80eb8f46 authored by Taylor Gerring's avatar Taylor Gerring
Browse files

Fix hex conversion

parent 3a983d24
Branches
Tags
No related merge requests found
...@@ -604,7 +604,8 @@ func (self *ethApi) GetTransactionReceipt(req *shared.Request) (interface{}, err ...@@ -604,7 +604,8 @@ func (self *ethApi) GetTransactionReceipt(req *shared.Request) (interface{}, err
return nil, shared.NewDecodeParamError(err.Error()) 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 // We could have an error of "not found". Should disambiguate
// if err != nil { // if err != nil {
// return err, nil // return err, nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment