diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-07 17:55:23 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-07 17:55:23 +0800 |
commit | 916d1554675974adb92af4046e1b04ad3b26dca3 (patch) | |
tree | 6ab24e55a8b4bd14b3a9c25917d440c03b875bfc /rpc/api/eth_js.go | |
parent | d764bd058457cd9eb91d205d1ac187d40c4866d6 (diff) | |
parent | c5cb6e8e70339b6641b7ce46cda04b83936213b3 (diff) | |
download | go-tangerine-916d1554675974adb92af4046e1b04ad3b26dca3.tar go-tangerine-916d1554675974adb92af4046e1b04ad3b26dca3.tar.gz go-tangerine-916d1554675974adb92af4046e1b04ad3b26dca3.tar.bz2 go-tangerine-916d1554675974adb92af4046e1b04ad3b26dca3.tar.lz go-tangerine-916d1554675974adb92af4046e1b04ad3b26dca3.tar.xz go-tangerine-916d1554675974adb92af4046e1b04ad3b26dca3.tar.zst go-tangerine-916d1554675974adb92af4046e1b04ad3b26dca3.zip |
Merge pull request #1429 from obscuren/rebase-registrar
Rebase registrar
Diffstat (limited to 'rpc/api/eth_js.go')
-rw-r--r-- | rpc/api/eth_js.go | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/rpc/api/eth_js.go b/rpc/api/eth_js.go index 4512cc147..400eb8e89 100644 --- a/rpc/api/eth_js.go +++ b/rpc/api/eth_js.go @@ -12,23 +12,20 @@ web3._extend({ name: 'sign', call: 'eth_sign', params: 2, - inputFormatter: [web3._extend.formatters.formatInputString,web3._extend.formatters.formatInputString], - outputFormatter: web3._extend.formatters.formatOutputString + inputFormatter: [web3._extend.utils.toAddress, null] }), 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 + inputFormatter: [web3._extend.formatters.inputTransactionFormatter, web3._extend.utils.fromDecimal, web3._extend.utils.fromDecimal] }) ], properties: [ new web3._extend.Property({ name: 'pendingTransactions', - getter: 'eth_pendingTransactions', - outputFormatter: function(obj) { return obj; } + getter: 'eth_pendingTransactions' }) ] }); |