diff options
author | Rob Mulholand <rmulholand@8thlight.com> | 2019-09-13 03:22:22 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-09-13 03:22:22 +0800 |
commit | 3b6c9902f308ffc595912802644c5d21616e61f5 (patch) | |
tree | 96f85064ef6ac4359daca5e690a29c6d090ddb3f /miner | |
parent | efe123759ab5c6eb536dc3f0718ec5acc2dca7fe (diff) | |
download | go-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.go | 2 |
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 |