aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-07-04 23:24:52 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-07-04 23:24:52 +0800
commit3be9046c21920abffa3c5ec81d5aabea8e3bab73 (patch)
treef20902a8f174fcd856dac820b2a62babe10afa8b /rpc
parent481b221279be1673832f96e35e3fdc0f82e178bc (diff)
downloadgo-tangerine-3be9046c21920abffa3c5ec81d5aabea8e3bab73.tar
go-tangerine-3be9046c21920abffa3c5ec81d5aabea8e3bab73.tar.gz
go-tangerine-3be9046c21920abffa3c5ec81d5aabea8e3bab73.tar.bz2
go-tangerine-3be9046c21920abffa3c5ec81d5aabea8e3bab73.tar.lz
go-tangerine-3be9046c21920abffa3c5ec81d5aabea8e3bab73.tar.xz
go-tangerine-3be9046c21920abffa3c5ec81d5aabea8e3bab73.tar.zst
go-tangerine-3be9046c21920abffa3c5ec81d5aabea8e3bab73.zip
Rename local variable for clarity
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api/eth.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/api/eth.go b/rpc/api/eth.go
index 9d78538fe..0f3b14525 100644
--- a/rpc/api/eth.go
+++ b/rpc/api/eth.go
@@ -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