diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-24 22:07:44 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2015-06-30 17:20:31 +0800 |
commit | 02c6af66bfd04f5eb2e2d48a85615e93ea9c9ddc (patch) | |
tree | 97687e62b9e1357afb8bf8192bb39941891111be /rpc | |
parent | ec866b066ace5d80c3c6a69349dbb1fac4503b46 (diff) | |
download | go-tangerine-02c6af66bfd04f5eb2e2d48a85615e93ea9c9ddc.tar.gz go-tangerine-02c6af66bfd04f5eb2e2d48a85615e93ea9c9ddc.tar.zst go-tangerine-02c6af66bfd04f5eb2e2d48a85615e93ea9c9ddc.zip |
fixed unittest compilation issue
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/api/api_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rpc/api/api_test.go b/rpc/api/api_test.go index 7e273ef28..2ac8bcd45 100644 --- a/rpc/api/api_test.go +++ b/rpc/api/api_test.go @@ -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) |