aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_makers.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-02 05:58:26 +0800
committerobscuren <geffobscura@gmail.com>2015-04-02 05:58:26 +0800
commitb8124ec79182dbf90b28c8527f2440cea6473f1b (patch)
treee5c14f90203a9b2a1d37cff28f92918b2ed54398 /core/chain_makers.go
parent219d94c1ddcb1e1e8a3fbfcfdcb545e6271dd5be (diff)
downloaddexon-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar
dexon-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar.gz
dexon-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar.bz2
dexon-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar.lz
dexon-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar.xz
dexon-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar.zst
dexon-b8124ec79182dbf90b28c8527f2440cea6473f1b.zip
Removed old (unused) argument
Diffstat (limited to 'core/chain_makers.go')
-rw-r--r--core/chain_makers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/chain_makers.go b/core/chain_makers.go
index d559b2a3a..52cb367c5 100644
--- a/core/chain_makers.go
+++ b/core/chain_makers.go
@@ -5,10 +5,10 @@ import (
"math/big"
"github.com/ethereum/go-ethereum/common"
+ "github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/pow"
- "github.com/ethereum/go-ethereum/core/state"
)
// So we can generate blocks easily
@@ -81,7 +81,7 @@ func makeBlock(bman *BlockProcessor, parent *types.Block, i int, db common.Datab
cbase := state.GetOrNewStateObject(addr)
cbase.SetGasPool(CalcGasLimit(parent, block))
cbase.AddBalance(BlockReward)
- state.Update(common.Big0)
+ state.Update()
block.SetRoot(state.Root())
return block
}