From d753eb77ec1e2298a8b386f0ddae5e34d450b805 Mon Sep 17 00:00:00 2001 From: obscuren Date: Sat, 25 Jan 2014 15:57:35 +0100 Subject: Removed the last block of the block chain Added CurrentBlock to block manager --- ethereum.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ethereum.go') 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), -- cgit v1.2.3