removed legacy code

This commit is contained in:
obscuren
2015-03-23 22:05:12 +01:00
parent 0eaa023ffa
commit 7b8a47f484
3 changed files with 2 additions and 5 deletions

View File

@@ -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))
}