Commit 02c6af66 authored by Bas van Kervel's avatar Bas van Kervel

fixed unittest compilation issue

parent ec866b06
...@@ -76,8 +76,9 @@ func TestCompileSolidity(t *testing.T) { ...@@ -76,8 +76,9 @@ func TestCompileSolidity(t *testing.T) {
expLanguageVersion := "0" expLanguageVersion := "0"
expSource := source expSource := source
xeth := xeth.NewTest(&eth.Ethereum{}, nil) eth := &eth.Ethereum{}
api := NewEthApi(xeth, codec.JSON) xeth := xeth.NewTest(eth, nil)
api := NewEthApi(xeth, eth, codec.JSON)
var rpcRequest shared.Request var rpcRequest shared.Request
json.Unmarshal([]byte(jsonstr), &rpcRequest) json.Unmarshal([]byte(jsonstr), &rpcRequest)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment