diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-27 16:36:39 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-27 16:36:39 +0800 |
commit | 1f5a6f13419415b4c05519e126eedcdf815aff7c (patch) | |
tree | de2d9551d3746ab3e4c8c38501ae0a1b6eac09d5 /lib/abi.js | |
parent | d223ac0379c4c1f8c209e777ec9ed63384590157 (diff) | |
parent | da4c2d530d6f9b8ba54221c6812f77766a33fed6 (diff) | |
download | go-tangerine-1f5a6f13419415b4c05519e126eedcdf815aff7c.tar go-tangerine-1f5a6f13419415b4c05519e126eedcdf815aff7c.tar.gz go-tangerine-1f5a6f13419415b4c05519e126eedcdf815aff7c.tar.bz2 go-tangerine-1f5a6f13419415b4c05519e126eedcdf815aff7c.tar.lz go-tangerine-1f5a6f13419415b4c05519e126eedcdf815aff7c.tar.xz go-tangerine-1f5a6f13419415b4c05519e126eedcdf815aff7c.tar.zst go-tangerine-1f5a6f13419415b4c05519e126eedcdf815aff7c.zip |
Merge branch 'develop' into cpp
Conflicts:
dist/ethereum.js.map
dist/ethereum.min.js
Diffstat (limited to 'lib/abi.js')
-rw-r--r-- | lib/abi.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/abi.js b/lib/abi.js index 177a146b0..d81c2f0c3 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) || type == 'string') // only string itself that is dynamic; stringX is static length. + if (arrayType(type) || type === 'string') // only string itself that is dynamic; stringX is static length. return formatInputInt(value.length); return ""; }; @@ -251,7 +251,7 @@ var formatOutputAddress = function (value) { }; var dynamicBytesLength = function (type) { - if (arrayType(type) || type == 'string') // only string itself that is dynamic; stringX is static length. + if (arrayType(type) || type === 'string') // only string itself that is dynamic; stringX is static length. return ETH_PADDING * 2; return 0; }; |