diff options
Diffstat (limited to 'lib/abi.js')
-rw-r--r-- | lib/abi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/abi.js b/lib/abi.js index 21580347d..1dc662152 100644 --- a/lib/abi.js +++ b/lib/abi.js @@ -128,7 +128,7 @@ var formatInputReal = function (value) { var dynamicTypeBytes = function (type, value) { // TODO: decide what to do with array of strings - if (arrayType(type) || prefixedType('string')(type)) + if (arrayType(type) || type == 'string') // only string itself that is dynamic; stringX is static length. return formatInputInt(value.length); return ""; }; |