fixed unittest compilation issue

pull/1328/head^2
Bas van Kervel 10 years ago
parent dc58568a25
commit ee73f09727
  1. 5
      rpc/api/api_test.go

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

Loading…
Cancel
Save