diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-07 02:59:12 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-07 03:18:24 +0800 |
commit | 666a7dda369e9a30715f560c8f72b81735a347fc (patch) | |
tree | 62011e66bba6335bf4c7693d796c4757395e248e /rpc/api/eth.go | |
parent | 4c30f0f9ac33e02908c6848744dafff9031b86f3 (diff) | |
download | go-tangerine-666a7dda369e9a30715f560c8f72b81735a347fc.tar go-tangerine-666a7dda369e9a30715f560c8f72b81735a347fc.tar.gz go-tangerine-666a7dda369e9a30715f560c8f72b81735a347fc.tar.bz2 go-tangerine-666a7dda369e9a30715f560c8f72b81735a347fc.tar.lz go-tangerine-666a7dda369e9a30715f560c8f72b81735a347fc.tar.xz go-tangerine-666a7dda369e9a30715f560c8f72b81735a347fc.tar.zst go-tangerine-666a7dda369e9a30715f560c8f72b81735a347fc.zip |
core, eth, rpc: proper gas used. Closes #1417
Added some additional backward compatibility code for old receipts
Diffstat (limited to 'rpc/api/eth.go')
-rw-r--r-- | rpc/api/eth.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rpc/api/eth.go b/rpc/api/eth.go index 6d759a087..944e96070 100644 --- a/rpc/api/eth.go +++ b/rpc/api/eth.go @@ -615,7 +615,6 @@ func (self *ethApi) GetTransactionReceipt(req *shared.Request) (interface{}, err v := NewReceiptRes(rec) v.BlockHash = newHexData(bhash) v.BlockNumber = newHexNum(bnum) - v.GasUsed = newHexNum(tx.Gas().Bytes()) v.TransactionIndex = newHexNum(txi) return v, nil } |