aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum.go b/ethereum.go
index 2d79659b0..e434f3c8e 100644
--- a/ethereum.go
+++ b/ethereum.go
@@ -95,7 +95,7 @@ func main() {
time.Sleep(blockTime * time.Second)
block := ethchain.CreateBlock(
- ethereum.BlockManager.BlockChain().LastBlock.State().Root,
+ ethereum.BlockManager.CurrentBlock.State().Root,
ethereum.BlockManager.LastBlockHash,
"123",
big.NewInt(1),