aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-07 19:10:12 +0800
committerobscuren <geffobscura@gmail.com>2015-04-07 19:10:12 +0800
commit43454053b0d72a0747f4a86ceabf9d5895d3032b (patch)
tree6ebe4bbbb4fd404a31f21be379893e3421866818 /rpc
parent99907f94dc966241fcf73551365593523e2c1444 (diff)
downloadgo-tangerine-43454053b0d72a0747f4a86ceabf9d5895d3032b.tar.gz
go-tangerine-43454053b0d72a0747f4a86ceabf9d5895d3032b.tar.zst
go-tangerine-43454053b0d72a0747f4a86ceabf9d5895d3032b.zip
Fixed tests
Diffstat (limited to 'rpc')
-rw-r--r--rpc/responses_test.go6
1 files changed, 2 insertions, 4 deletions
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,