mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 03:30:35 +00:00
fixed unittest compilation issue
This commit is contained in:
parent
ec866b066a
commit
02c6af66bf
@ -76,8 +76,9 @@ func TestCompileSolidity(t *testing.T) {
|
||||
expLanguageVersion := "0"
|
||||
expSource := source
|
||||
|
||||
xeth := xeth.NewTest(ð.Ethereum{}, nil)
|
||||
api := NewEthApi(xeth, codec.JSON)
|
||||
eth := ð.Ethereum{}
|
||||
xeth := xeth.NewTest(eth, nil)
|
||||
api := NewEthApi(xeth, eth, codec.JSON)
|
||||
|
||||
var rpcRequest shared.Request
|
||||
json.Unmarshal([]byte(jsonstr), &rpcRequest)
|
||||
|
Loading…
Reference in New Issue
Block a user