From 43454053b0d72a0747f4a86ceabf9d5895d3032b Mon Sep 17 00:00:00 2001 From: obscuren Date: Tue, 7 Apr 2015 13:10:12 +0200 Subject: Fixed tests --- rpc/responses_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'rpc') diff --git a/rpc/responses_test.go b/rpc/responses_test.go index 2ec6d9d15..72d4a91ee 100644 --- a/rpc/responses_test.go +++ b/rpc/responses_test.go @@ -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, -- cgit v1.2.3