fixed unittest compilation issue

pull/1328/head
Bas van Kervel 10 years ago
parent ec866b066a
commit 02c6af66bf
  1. 5
      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)

Loading…
Cancel
Save