aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/utils.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/utils.go
parent130f3b270a9b2f7bd680188c67013695d5f9412b (diff)
parent8c4d493c66cf14f0bcb8b650045a644722ad8d90 (diff)
downloadgo-tangerine-ba95e445e16481ea7a94a462347def19b0c2bf2c.tar.gz
go-tangerine-ba95e445e16481ea7a94a462347def19b0c2bf2c.tar.zst
go-tangerine-ba95e445e16481ea7a94a462347def19b0c2bf2c.zip
Merge pull request #1328 from bas-vk/issue1327
Add pendingTransactions and resend
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: