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

@ -31,8 +31,7 @@ func TestNewBlockRes(t *testing.T) {
root := common.HexToHash("0x01")
difficulty := common.Big1
nonce := uint64(1)
extra := ""
block := types.NewBlock(parentHash, coinbase, root, difficulty, nonce, extra)
block := types.NewBlock(parentHash, coinbase, root, difficulty, nonce, nil)
tests := map[string]string{
"number": reNum,
"hash": reHash,
@ -81,8 +80,7 @@ func TestNewBlockResWithTrans(t *testing.T) {
root := common.HexToHash("0x01")
difficulty := common.Big1
nonce := uint64(1)
extra := ""
block := types.NewBlock(parentHash, coinbase, root, difficulty, nonce, extra)
block := types.NewBlock(parentHash, coinbase, root, difficulty, nonce, nil)
tests := map[string]string{
"number": reNum,
"hash": reHash,