aboutsummaryrefslogtreecommitdiffstats
path: root/chain/block_manager.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-03 20:52:30 +0800
committerobscuren <geffobscura@gmail.com>2014-12-03 20:52:30 +0800
commit709eff4ea77b965cdf763ada8ab248e3d850406f (patch)
treec8521359d6d4b8df6de8af716a94da02da0d2122 /chain/block_manager.go
parent6212175be3a5a06099413f4a393df316c5be5752 (diff)
downloaddexon-709eff4ea77b965cdf763ada8ab248e3d850406f.tar.gz
dexon-709eff4ea77b965cdf763ada8ab248e3d850406f.tar.zst
dexon-709eff4ea77b965cdf763ada8ab248e3d850406f.zip
reverted vm back
Diffstat (limited to 'chain/block_manager.go')
-rw-r--r--chain/block_manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/chain/block_manager.go b/chain/block_manager.go
index 56511113d..eda8a5a0c 100644
--- a/chain/block_manager.go
+++ b/chain/block_manager.go
@@ -342,7 +342,7 @@ func (sm *BlockManager) ValidateBlock(block, parent *types.Block) error {
return nil
}
-func (sm *BlockManager) AccumelateRewards(state *state.State, block, parent *types.Block) error {
+func (sm *BlockManager) AccumelateRewards(statedb *state.State, block, parent *types.Block) error {
reward := new(big.Int).Set(BlockReward)
knownUncles := ethutil.Set(parent.Uncles)