diff options
Diffstat (limited to 'lib/utils.js')
-rw-r--r-- | lib/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils.js b/lib/utils.js index e1265803c..7cc1917e1 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -84,7 +84,7 @@ var extractDisplayName = function (name) { var extractTypeName = function (name) { /// TODO: make it invulnerable var length = name.indexOf('('); - return length !== -1 ? name.substr(length + 1, name.length - 1 - (length + 1)) : ""; + return length !== -1 ? name.substr(length + 1, name.length - 1 - (length + 1)).replace(' ', '') : ""; }; /// Filters all function from input abi |