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-24 22:07:44 +0800 |
commit | ee73f09727004e94a04a396b99151ab79fd187f4 (patch) | |
tree | cfea97e107a61873ae27b728b279ad7a4ebc5559 /rpc/api | |
parent | dc58568a25e54ea601aefb8e97f427cae0814612 (diff) | |
download | go-tangerine-ee73f09727004e94a04a396b99151ab79fd187f4.tar.gz go-tangerine-ee73f09727004e94a04a396b99151ab79fd187f4.tar.zst go-tangerine-ee73f09727004e94a04a396b99151ab79fd187f4.zip |
fixed unittest compilation issue
Diffstat (limited to 'rpc/api')
-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) |