add inputformatter for sha3
This commit is contained in:
parent
50ca903bfb
commit
5636510060
|
@ -1105,7 +1105,7 @@ var c = require('./utils/config');
|
|||
/// @returns an array of objects describing web3 api methods
|
||||
var web3Methods = function () {
|
||||
return [
|
||||
{ name: 'sha3', call: 'web3_sha3' }
|
||||
{ name: 'sha3', call: 'web3_sha3', inputFormatter: utils.toHex }
|
||||
];
|
||||
};
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -37,7 +37,7 @@ var c = require('./utils/config');
|
|||
/// @returns an array of objects describing web3 api methods
|
||||
var web3Methods = function () {
|
||||
return [
|
||||
{ name: 'sha3', call: 'web3_sha3' }
|
||||
{ name: 'sha3', call: 'web3_sha3', inputFormatter: utils.toHex }
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue