aboutsummaryrefslogtreecommitdiffstats
path: root/lib/abi.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/abi.js')
-rw-r--r--lib/abi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/abi.js b/lib/abi.js
index 1dc662152..177a146b0 100644
--- a/lib/abi.js
+++ b/lib/abi.js
@@ -251,7 +251,7 @@ var formatOutputAddress = function (value) {
};
var dynamicBytesLength = function (type) {
- if (arrayType(type) || prefixedType('string')(type))
+ if (arrayType(type) || type == 'string') // only string itself that is dynamic; stringX is static length.
return ETH_PADDING * 2;
return 0;
};