Commit d787fcde authored by yann300's avatar yann300

remove input param reformatting

parent 3b8ddfc2
...@@ -46,8 +46,6 @@ module.exports = { ...@@ -46,8 +46,6 @@ module.exports = {
* @param {Function} callbackStep - callbackStep * @param {Function} callbackStep - callbackStep
*/ */
buildData: function (contractName, contract, contracts, isConstructor, funAbi, params, udapp, callback, callbackStep) { buildData: function (contractName, contract, contracts, isConstructor, funAbi, params, udapp, callback, callbackStep) {
params = params.replace(/[^"](0[xX][0-9a-fA-F]+)/g, '"$1"')
params = params.replace((/^[^0x]([0-9]+)/g, '"$1"'))
var funArgs = '' var funArgs = ''
try { try {
funArgs = $.parseJSON('[' + params + ']') funArgs = $.parseJSON('[' + params + ']')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment