diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-24 19:53:37 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2015-06-30 17:20:31 +0800 |
commit | 056e9dd393eeb7ddb4f6bf3e508228e1874bc94e (patch) | |
tree | f21087dbe1e6a955d22b96586a9b846d3471003f /rpc/api/utils.go | |
parent | 9226369b5daf8c1bf738369cd838963a5d58362d (diff) | |
download | dexon-056e9dd393eeb7ddb4f6bf3e508228e1874bc94e.tar dexon-056e9dd393eeb7ddb4f6bf3e508228e1874bc94e.tar.gz dexon-056e9dd393eeb7ddb4f6bf3e508228e1874bc94e.tar.bz2 dexon-056e9dd393eeb7ddb4f6bf3e508228e1874bc94e.tar.lz dexon-056e9dd393eeb7ddb4f6bf3e508228e1874bc94e.tar.xz dexon-056e9dd393eeb7ddb4f6bf3e508228e1874bc94e.tar.zst dexon-056e9dd393eeb7ddb4f6bf3e508228e1874bc94e.zip |
added eth.pendingTransactions
Diffstat (limited to 'rpc/api/utils.go')
-rw-r--r-- | rpc/api/utils.go | 3 |
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: |