fixed unittest compilation issue

This commit is contained in:
Bas van Kervel 2015-06-24 16:07:44 +02:00
parent dc58568a25
commit ee73f09727

View File

@ -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)