mirror of https://github.com/status-im/op-geth.git
fixed unittest compilation issue
This commit is contained in:
parent
ec866b066a
commit
02c6af66bf
|
@ -76,8 +76,9 @@ func TestCompileSolidity(t *testing.T) {
|
||||||
expLanguageVersion := "0"
|
expLanguageVersion := "0"
|
||||||
expSource := source
|
expSource := source
|
||||||
|
|
||||||
xeth := xeth.NewTest(ð.Ethereum{}, nil)
|
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…
Reference in New Issue