From ee73f09727004e94a04a396b99151ab79fd187f4 Mon Sep 17 00:00:00 2001
From: Bas van Kervel <bas@ethdev.com>
Date: Wed, 24 Jun 2015 16:07:44 +0200
Subject: [PATCH] fixed unittest compilation issue

---
 rpc/api/api_test.go | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/rpc/api/api_test.go b/rpc/api/api_test.go
index 7e273ef28..2ac8bcd45 100644
--- a/rpc/api/api_test.go
+++ b/rpc/api/api_test.go
@@ -76,8 +76,9 @@ func TestCompileSolidity(t *testing.T) {
 	expLanguageVersion := "0"
 	expSource := source
 
-	xeth := xeth.NewTest(&eth.Ethereum{}, nil)
-	api := NewEthApi(xeth, codec.JSON)
+	eth := &eth.Ethereum{}
+	xeth := xeth.NewTest(eth, nil)
+	api := NewEthApi(xeth, eth, codec.JSON)
 
 	var rpcRequest shared.Request
 	json.Unmarshal([]byte(jsonstr), &rpcRequest)
-- 
GitLab