aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
authorRob Mulholand <rmulholand@8thlight.com>2019-09-13 03:22:22 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-09-13 03:22:22 +0800
commit3b6c9902f308ffc595912802644c5d21616e61f5 (patch)
tree96f85064ef6ac4359daca5e690a29c6d090ddb3f /miner
parentefe123759ab5c6eb536dc3f0718ec5acc2dca7fe (diff)
downloadgo-tangerine-3b6c9902f308ffc595912802644c5d21616e61f5.tar
go-tangerine-3b6c9902f308ffc595912802644c5d21616e61f5.tar.gz
go-tangerine-3b6c9902f308ffc595912802644c5d21616e61f5.tar.bz2
go-tangerine-3b6c9902f308ffc595912802644c5d21616e61f5.tar.lz
go-tangerine-3b6c9902f308ffc595912802644c5d21616e61f5.tar.xz
go-tangerine-3b6c9902f308ffc595912802644c5d21616e61f5.tar.zst
go-tangerine-3b6c9902f308ffc595912802644c5d21616e61f5.zip
core: remove unused gas return in ApplyTransaction (#20065)
Diffstat (limited to 'miner')
-rw-r--r--miner/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/worker.go b/miner/worker.go
index 4a9528c39..183499ec3 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -704,7 +704,7 @@ func (w *worker) updateSnapshot() {
func (w *worker) commitTransaction(tx *types.Transaction, coinbase common.Address) ([]*types.Log, error) {
snap := w.current.state.Snapshot()
- receipt, _, err := core.ApplyTransaction(w.chainConfig, w.chain, &coinbase, w.current.gasPool, w.current.state, w.current.header, tx, &w.current.header.GasUsed, *w.chain.GetVMConfig())
+ receipt, err := core.ApplyTransaction(w.chainConfig, w.chain, &coinbase, w.current.gasPool, w.current.state, w.current.header, tx, &w.current.header.GasUsed, *w.chain.GetVMConfig())
if err != nil {
w.current.state.RevertToSnapshot(snap)
return nil, err