aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/api_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-06-30 23:27:03 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-06-30 23:27:03 +0800
commitba95e445e16481ea7a94a462347def19b0c2bf2c (patch)
tree23b3b86b1828819f6fffe411567824c2f227e147 /rpc/api/api_test.go
parent130f3b270a9b2f7bd680188c67013695d5f9412b (diff)
parent8c4d493c66cf14f0bcb8b650045a644722ad8d90 (diff)
downloaddexon-ba95e445e16481ea7a94a462347def19b0c2bf2c.tar
dexon-ba95e445e16481ea7a94a462347def19b0c2bf2c.tar.gz
dexon-ba95e445e16481ea7a94a462347def19b0c2bf2c.tar.bz2
dexon-ba95e445e16481ea7a94a462347def19b0c2bf2c.tar.lz
dexon-ba95e445e16481ea7a94a462347def19b0c2bf2c.tar.xz
dexon-ba95e445e16481ea7a94a462347def19b0c2bf2c.tar.zst
dexon-ba95e445e16481ea7a94a462347def19b0c2bf2c.zip
Merge pull request #1328 from bas-vk/issue1327
Add pendingTransactions and resend
Diffstat (limited to 'rpc/api/api_test.go')
-rw-r--r--rpc/api/api_test.go5
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(&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)