Fixed tests

This commit is contained in:
obscuren
2015-04-07 13:10:12 +02:00
parent 99907f94dc
commit 43454053b0
2 changed files with 3 additions and 5 deletions

View File

@ -11,7 +11,7 @@ import (
func newChain(size int) (chain []*types.Block) {
var parentHash common.Hash
for i := 0; i < size; i++ {
block := types.NewBlock(parentHash, common.Address{}, common.Hash{}, new(big.Int), 0, "")
block := types.NewBlock(parentHash, common.Address{}, common.Hash{}, new(big.Int), 0, nil)
block.Header().Number = big.NewInt(int64(i))
chain = append(chain, block)
parentHash = block.Hash()