diff options
author | Gav Wood <i@gavwood.com> | 2015-01-25 10:23:39 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-01-25 10:23:39 +0800 |
commit | 113a3809ab5e92cd0d60a02a5752b260a9ab3331 (patch) | |
tree | 1cbb4273c68f89b59186d65104cc9ab588172ee2 /lib/abi.js | |
parent | fb34c6c7b92b4dcb027c87dc9ca05c0f0c6457cf (diff) | |
download | dexon-113a3809ab5e92cd0d60a02a5752b260a9ab3331.tar dexon-113a3809ab5e92cd0d60a02a5752b260a9ab3331.tar.gz dexon-113a3809ab5e92cd0d60a02a5752b260a9ab3331.tar.bz2 dexon-113a3809ab5e92cd0d60a02a5752b260a9ab3331.tar.lz dexon-113a3809ab5e92cd0d60a02a5752b260a9ab3331.tar.xz dexon-113a3809ab5e92cd0d60a02a5752b260a9ab3331.tar.zst dexon-113a3809ab5e92cd0d60a02a5752b260a9ab3331.zip |
Fix string outputs.
Auto collapse for < 2 returns.
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 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; }; |