fixed web3 formatters mismatch
This commit is contained in:
committed by
Jeffrey Wilcke
parent
6ea28f93b9
commit
ceb0739ba1
@@ -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: [null, null, null]
|
||||
})
|
||||
],
|
||||
properties:
|
||||
[
|
||||
new web3._extend.Property({
|
||||
name: 'pendingTransactions',
|
||||
getter: 'eth_pendingTransactions',
|
||||
outputFormatter: function(obj) { return obj; }
|
||||
getter: 'eth_pendingTransactions'
|
||||
})
|
||||
]
|
||||
});
|
||||
|
Reference in New Issue
Block a user