Removed the last block of the block chain

Added CurrentBlock to block manager
This commit is contained in:
obscuren
2014-01-25 15:57:35 +01:00
parent 42e8930b37
commit d753eb77ec
3 changed files with 3 additions and 3 deletions

View File

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