aboutsummaryrefslogtreecommitdiffstats
path: root/dist/ethereum.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/ethereum.js')
-rw-r--r--dist/ethereum.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/ethereum.js b/dist/ethereum.js
index 0a83a3c50..8dd32d969 100644
--- a/dist/ethereum.js
+++ b/dist/ethereum.js
@@ -1269,7 +1269,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