aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-07-05 01:14:06 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-07-05 01:14:06 +0800
commit62559ac3304ff582028a20771c8ef870f24685f5 (patch)
treeaa206bd4e4a2c2bf2fcee4bd01a4433790866ad9 /rpc
parent30afd37604da40416b0dd4fdc8cad322c12651cf (diff)
downloaddexon-62559ac3304ff582028a20771c8ef870f24685f5.tar
dexon-62559ac3304ff582028a20771c8ef870f24685f5.tar.gz
dexon-62559ac3304ff582028a20771c8ef870f24685f5.tar.bz2
dexon-62559ac3304ff582028a20771c8ef870f24685f5.tar.lz
dexon-62559ac3304ff582028a20771c8ef870f24685f5.tar.xz
dexon-62559ac3304ff582028a20771c8ef870f24685f5.tar.zst
dexon-62559ac3304ff582028a20771c8ef870f24685f5.zip
Cleanup
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api/parsing.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/rpc/api/parsing.go b/rpc/api/parsing.go
index cc7f60cad..4209ea7e3 100644
--- a/rpc/api/parsing.go
+++ b/rpc/api/parsing.go
@@ -421,11 +421,11 @@ func NewReceiptRes(rec *types.Receipt) *ReceiptRes {
var v = new(ReceiptRes)
v.TransactionHash = newHexData(rec.TxHash)
- // v.TransactionIndex = newHexNum(input) // transaction
- // v.BlockNumber = newHexNum(input) // transaction
- // v.BlockHash = newHexData(input) //transaction
+ // v.TransactionIndex = newHexNum(input)
+ // v.BlockNumber = newHexNum(input)
+ // v.BlockHash = newHexData(input)
v.CumulativeGasUsed = newHexNum(rec.CumulativeGasUsed)
- // v.GasUsed = newHexNum(input) // CumulativeGasUsed (blocknum-1)
+ // v.GasUsed = newHexNum(input)
// If the ContractAddress is 20 0x0 bytes, assume it is not a contract creation
if bytes.Compare(rec.ContractAddress.Bytes(), bytes.Repeat([]byte{0}, 20)) != 0 {
v.ContractAddress = newHexData(rec.ContractAddress)