aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/utils.go
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-06-24 19:53:37 +0800
committerBas van Kervel <bas@ethdev.com>2015-06-24 19:53:37 +0800
commitf1a4a6e563ea72affe365d89513e5c83a35e4c28 (patch)
treea1c5f9685fd1e3cc0e21799e74c5ef216a1a9f0e /rpc/api/utils.go
parent22c7ce0162f2d14a7340e00e93697780c91d2087 (diff)
downloadgo-tangerine-f1a4a6e563ea72affe365d89513e5c83a35e4c28.tar.gz
go-tangerine-f1a4a6e563ea72affe365d89513e5c83a35e4c28.tar.zst
go-tangerine-f1a4a6e563ea72affe365d89513e5c83a35e4c28.zip
added eth.pendingTransactions
Diffstat (limited to 'rpc/api/utils.go')
-rw-r--r--rpc/api/utils.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpc/api/utils.go b/rpc/api/utils.go
index 6e4835de6..3d46f78d3 100644
--- a/rpc/api/utils.go
+++ b/rpc/api/utils.go
@@ -84,6 +84,7 @@ var (
"hashrate",
"getWork",
"submitWork",
+ "pendingTransactions",
},
"miner": []string{
"hashrate",
@@ -149,7 +150,7 @@ func ParseApiString(apistr string, codec codec.Codec, xeth *xeth.XEth, eth *eth.
case shared.DbApiName:
apis[i] = NewDbApi(xeth, eth, codec)
case shared.EthApiName:
- apis[i] = NewEthApi(xeth, codec)
+ apis[i] = NewEthApi(xeth, eth, codec)
case shared.MinerApiName:
apis[i] = NewMinerApi(eth, codec)
case shared.NetApiName: