aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/eth_js.go
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-06-24 20:56:53 +0800
committerBas van Kervel <bas@ethdev.com>2015-06-30 17:20:31 +0800
commitec866b066ace5d80c3c6a69349dbb1fac4503b46 (patch)
treec87dd0dc6ab981f4e1bdb6c734a7e39293d47e6d /rpc/api/eth_js.go
parent056e9dd393eeb7ddb4f6bf3e508228e1874bc94e (diff)
downloaddexon-ec866b066ace5d80c3c6a69349dbb1fac4503b46.tar.gz
dexon-ec866b066ace5d80c3c6a69349dbb1fac4503b46.tar.zst
dexon-ec866b066ace5d80c3c6a69349dbb1fac4503b46.zip
added eth.resend
Diffstat (limited to 'rpc/api/eth_js.go')
-rw-r--r--rpc/api/eth_js.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/rpc/api/eth_js.go b/rpc/api/eth_js.go
index 8d0fe8f0a..4512cc147 100644
--- a/rpc/api/eth_js.go
+++ b/rpc/api/eth_js.go
@@ -14,6 +14,13 @@ web3._extend({
params: 2,
inputFormatter: [web3._extend.formatters.formatInputString,web3._extend.formatters.formatInputString],
outputFormatter: web3._extend.formatters.formatOutputString
+ }),
+ new web3._extend.Method({
+ name: 'resend',
+ call: 'eth_resend',
+ params: 3,
+ inputFormatter: [function(obj) { return obj; },web3._extend.formatters.formatInputString,web3._extend.formatters.formatInputString],
+ outputFormatter: web3._extend.formatters.formatOutputString
})
],
properties: