diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-24 05:05:12 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-24 05:05:12 +0800 |
commit | 7b8a47f4846cd821ecc1f96e381980f7bca1922b (patch) | |
tree | 705533520f1e63911112c016367b2ff8a010eb7b /core/block_processor.go | |
parent | 0eaa023ffa48af300dde8361a2dcbeaa754bc2c1 (diff) | |
download | go-tangerine-7b8a47f4846cd821ecc1f96e381980f7bca1922b.tar go-tangerine-7b8a47f4846cd821ecc1f96e381980f7bca1922b.tar.gz go-tangerine-7b8a47f4846cd821ecc1f96e381980f7bca1922b.tar.bz2 go-tangerine-7b8a47f4846cd821ecc1f96e381980f7bca1922b.tar.lz go-tangerine-7b8a47f4846cd821ecc1f96e381980f7bca1922b.tar.xz go-tangerine-7b8a47f4846cd821ecc1f96e381980f7bca1922b.tar.zst go-tangerine-7b8a47f4846cd821ecc1f96e381980f7bca1922b.zip |
removed legacy code
Diffstat (limited to 'core/block_processor.go')
-rw-r--r-- | core/block_processor.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/block_processor.go b/core/block_processor.go index 0fb698614..dfac6e0cc 100644 --- a/core/block_processor.go +++ b/core/block_processor.go @@ -126,7 +126,6 @@ func (self *BlockProcessor) ApplyTransactions(coinbase *state.StateObject, state cumulativeSum.Add(cumulativeSum, new(big.Int).Mul(txGas, tx.GasPrice())) } - block.Reward = cumulativeSum if block.GasUsed().Cmp(totalUsedGas) != 0 { return nil, ValidationError(fmt.Sprintf("gas used error (%v / %v)", block.GasUsed(), totalUsedGas)) } |