aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api/utils.go')
-rw-r--r--rpc/api/utils.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/rpc/api/utils.go b/rpc/api/utils.go
index 6e4835de6..e6a01d3d6 100644
--- a/rpc/api/utils.go
+++ b/rpc/api/utils.go
@@ -84,6 +84,8 @@ var (
"hashrate",
"getWork",
"submitWork",
+ "pendingTransactions",
+ "resend",
},
"miner": []string{
"hashrate",
@@ -149,7 +151,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: